Skip to content

#8af0fe

a light, electric cyan · cool · closest name: Pale Turquoise

RGB
138, 240, 254
HSL
187°, 98%, 77%
CMYK
46, 6, 0, 0
Luminance
0.7488

At a glance

Every number on this page in one read: what #8af0fe is made of, how bright it looks, and which way it leans.

Hex
#8af0fe
Hue
187°
cyan
Saturation
98%
electric
Lightness
77%
light
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7488
WCAG relative
Temperature
Cool
91/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.98:1
Closest name
Pale Turquoise
ΔE2000 6.2
Where it sits
Hue187° of 360°
Saturation98%
Lightness77%
Temperature
Warm ← → Cool91% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#8af0fe
RGBrgb(138, 240, 254)
HSLhsl(187, 98%, 77%)
CMYKcmyk(46%, 6%, 0%, 0%)
LABlab(89.3 -26.3 -16.0)
LCHlch(89.3 30.8 211.4)
OKLCHoklch(0.898 0.097 207.0)
Decimal9105662
Display P3color(display-p3 0.541 0.941 0.996)

Copy-ready code

/* CSS */
color: #8af0fe;
background-color: #8af0fe;
/* Tailwind (arbitrary) */
class="text-[#8af0fe] bg-[#8af0fe]"
/* SCSS */
$brand: #8af0fe;
/* SwiftUI */
Color(red: 0.541, green: 0.941, blue: 0.996)
/* Android */
Color.parseColor("#8af0fe")
/* Flutter */
Color(0xFF8AF0FE)
/* Python / OpenCV (BGR) */
(254, 240, 138)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #8af0fe · 15.98:1
Use #000000AAA at every size.
Aa
White text · 1.31:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.98:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8af0fe as text scores 1.31:1 on white and 15.98:1 on black.

Accessibility — WCAG contrast

Aa
#8af0fe on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#8af0fe on black: 15.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1E9FF
deuteranopia · #CEDAFE
tritanopia · #4DF8F4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8af0fe is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FCFD
#E3F9FC
#C1F4FB
#8af0fe
#58EAFE
#21E3FD
#02D6F3
#02B2CA
#018FA2
#066775
#044149
Base = 300Lightest = 50 · #F1FCFDDarkest = 950 · #044149
:root {
  --brand-50: #F1FCFD;
  --brand-100: #E3F9FC;
  --brand-200: #C1F4FB;
  --brand-300: #8af0fe;
  --brand-400: #58EAFE;
  --brand-500: #21E3FD;
  --brand-600: #02D6F3;
  --brand-700: #02B2CA;
  --brand-800: #018FA2;
  --brand-900: #066775;
  --brand-950: #044149;
  --brand: #8af0fe;
  --brand-ink: #000000;
}

Colors that work with #8af0fe

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAFA
Tinted page background
Border#C0E7ED
Hairlines and dividers
Muted text#4B919B
Captions on the surface
Accent#CC001C
Second voice, not a rival
Dark variant#016F7E
Hover, pressed, headers
Light variant#E6FCFF
Selected rows, tints
Dark surface#142224
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #8af0fe

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#FE988A
Analogous left#8AFED2
Analogous right#8AB6FE
Split-complement 1#FE8AB6
Split-complement 2#FED28A
Triadic 1#FE8AF0
Triadic 2#F0FE8A
Tetradic#D28AFE

RGB percentages

Red54.1%
Green94.1%
Blue99.6%

CMYK percentages

Cyan45.7%
Magenta5.5%
Yellow0.0%
Key (black)0.4%

Color previews

#8af0fe text on a black background

contrast 15.98:1

Card sample

#8af0fe text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8af0fe;
Background color
Panel with #8af0fe background
background-color: #8af0fe;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8af0fe;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(138, 240, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 240, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af0fe;
background: linear-gradient(135deg, #8af0fe, #8AA3FE);

Monochromatic scale

Palettes built from #8af0fe

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#8af0fe in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#8af0fe, answered

What color is #8af0fe?

#8af0fe is a light electric cyan, closest to Pale Turquoise (ΔE2000 6.2). It sits at 187° on the hue wheel with 98% saturation and 77% lightness, which reads as cool.

What is the RGB value of #8af0fe?

rgb(138, 240, 254) — 138 red, 240 green and 254 blue out of 255, or 54.1% / 94.1% / 99.6% by channel.

Is #8af0fe a light or a dark color?

It is a light color. Relative luminance is 0.7488 and perceived brightness is 85%, so black text on it reaches 15.98:1.

Should I use black or white text on #8af0fe?

Black. It scores 15.98:1 against #8af0fe, versus 1.31:1 for white — AAA at any size.

What is the complementary color of #8af0fe?

#FE988A sits directly opposite on the wheel. Softer options are the split-complements #FE8AB6 and #FED28A, which give the same contrast with far less vibration.

What colors go well with #8af0fe?

For interface work: #F4FAFA as the surface, #C0E7ED for borders, #4B919B for secondary text, #CC001C as an accent and #016F7E for hover and pressed states. For a palette, the analogous pair #8AFED2 and #8AB6FE stays calm, while #FE988A is the loudest partner.

What is #8af0fe in CMYK for printing?

cmyk(46%, 6%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #8af0fe warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8AFEE1; nudged cooler, #89D3FF.

Work with #8af0fe in the Color Lab