#81AFE8#81AFE8

#81AFE8 is a light, moderate cyan. Relative luminance 0.412; OKLCH L 74.3% C 0.097 H 254.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#81AFE8
RGBrgb(129, 175, 232)
HSLhsl(213, 69%, 71%)
HSVhsv(213, 44%, 91%)
CMYKcmyk(44.4%, 24.6%, 0%, 9%)
CIE-LABlab(70.28, -0.54, -33.36)
CIE-LCHlch(70.28, 33.37, 269.08°)
OKLaboklab(74.31% -0.0263 -0.093)
OKLCHoklch(74.31% 0.097 254.2)
XYZxyz(38.9439, 41.1508, 82.2191)
Luminance0.4115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AFE8 #E8BA81
analogous
#81E2E8 #81AFE8 #8681E8
triadic
#81AFE8 #E881AF #AFE881
tetradic
#81AFE8 #E881E2 #E8BA81 #81E886
square
#81AFE8 #E881E2 #E8BA81 #81E886
split-complementary
#81AFE8 #E88681 #E2E881
monochromatic
#256ECA #4D8EDF #81AFE8 #B5D0F1 #E5EFFA

Accessibility & contrast

On white

2.28
#81AFE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#81AFE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AFE8
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AFE8#FFFFFF#000000##000000
##81AFE81.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B1EB
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#58BCC3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #81afe8;
/* rgb */ color: rgb(129, 175, 232);
/* oklch */ color: oklch(74.3% 0.097 254.2);
Tailwind
colors: {
  custom: {
    50: '#aac6ef',
    500: '#81afe8',
    950: '#000000',
  },
}
SCSS
$custom: #81afe8;
$custom-light: #aac6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#81afe8",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 232
  },
  "hsl": {
    "h": 213.204,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74313,
    "c": 0.09663,
    "h": 254.2
  },
  "luminance": 0.41153
}

Semantic roles & 50–950 ramp

primary
#81AFE8
secondary
#F0E4D5
accent
#7D14D1
background
#FAFCFE
surface
#F4F8FD
border
#CED1D5
text
#101316
muted
#7F8284

Preview Lab

Preview with #81AFE8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#81AFE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva