#817CCF#817CCF

#817CCF is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.123 H 285.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#817CCF
RGBrgb(129, 124, 207)
HSLhsl(244, 46%, 65%)
HSVhsv(244, 40%, 81%)
CMYKcmyk(37.7%, 40.1%, 0%, 18.8%)
CIE-LABlab(55.67, 21.85, -42.31)
CIE-LCHlch(55.67, 47.62, 297.32°)
OKLaboklab(62.63% 0.0319 -0.1189)
OKLCHoklch(62.63% 0.123 285)
XYZxyz(27.5203, 23.5865, 62.1220)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817CCF #CACF7C
analogous
#7CA1CF #817CCF #AA7CCF
triadic
#817CCF #CF817C #7CCF81
tetradic
#817CCF #CF7CA1 #CACF7C #7CCFAA
square
#817CCF #CF7CA1 #CACF7C #7CCFAA
split-complementary
#817CCF #CFAA7C #A1CF7C
monochromatic
#3E3899 #564FBF #817CCF #ACA9DF #D7D6F0

Accessibility & contrast

On white

3.67
#817CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#817CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817CCF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817CCF#FFFFFF#000000##000000
##817CCF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#6C8C9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #817ccf;
/* rgb */ color: rgb(129, 124, 207);
/* oklch */ color: oklch(62.6% 0.123 285.0);
Tailwind
colors: {
  custom: {
    50: '#a8a1de',
    500: '#817ccf',
    950: '#000000',
  },
}
SCSS
$custom: #817ccf;
$custom-light: #a8a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#817ccf",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 243.614,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62634,
    "c": 0.12313,
    "h": 285
  },
  "luminance": 0.23587
}

Semantic roles & 50–950 ramp

primary
#817CCF
secondary
#E0E2C5
accent
#BA2CB1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #817CCF

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

Preview Lab → · Contrast checker → · Palette generator →

#817CCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva