#817CED#817CED

#817CED is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.4% C 0.165 H 282.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#817CED
RGBrgb(129, 124, 237)
HSLhsl(243, 76%, 71%)
HSVhsv(243, 48%, 93%)
CMYKcmyk(45.6%, 47.7%, 0%, 7.1%)
CIE-LABlab(57.27, 30.37, -56.60)
CIE-LCHlch(57.27, 64.24, 298.22°)
OKLaboklab(64.36% 0.0363 -0.1607)
OKLCHoklch(64.36% 0.165 282.7)
XYZxyz(31.5424, 25.1954, 83.3055)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817CED #E8ED7C
analogous
#7CAFED #817CED #B97CED
triadic
#817CED #ED817C #7CED81
tetradic
#817CED #ED7CAF #E8ED7C #7CEDB9
square
#817CED #ED7CAF #E8ED7C #7CEDB9
split-complementary
#817CED #EDB97C #AFED7C
monochromatic
#251DD2 #4D46E6 #817CED #B5B2F4 #E5E4FB

Accessibility & contrast

On white

3.48
#817CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#817CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817CED
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817CED#FFFFFF#000000##000000
##817CED1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#4686EA
Tritanopia (blue-blind)
#5D94A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #817ced;
/* rgb */ color: rgb(129, 124, 237);
/* oklch */ color: oklch(64.4% 0.165 282.7);
Tailwind
colors: {
  custom: {
    50: '#aba2f3',
    500: '#817ced',
    950: '#000000',
  },
}
SCSS
$custom: #817ced;
$custom-light: #aba2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#817ced",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 242.655,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.16479,
    "h": 282.7
  },
  "luminance": 0.25197
}

Semantic roles & 50–950 ramp

primary
#817CED
secondary
#F0F2D3
accent
#D80DCF
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #817CED

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

Preview Lab → · Contrast checker → · Palette generator →

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