#817BED#817BED

#817BED is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.2% C 0.166 H 283.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#817BED
RGBrgb(129, 123, 237)
HSLhsl(243, 76%, 71%)
HSVhsv(243, 48%, 93%)
CMYKcmyk(45.6%, 48.1%, 0%, 7.1%)
CIE-LABlab(57.02, 30.96, -56.99)
CIE-LCHlch(57.02, 64.86, 298.51°)
OKLaboklab(64.18% 0.0375 -0.1619)
OKLCHoklch(64.18% 0.166 283)
XYZxyz(31.4178, 24.9460, 83.2640)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817BED #E7ED7B
analogous
#7BAEED #817BED #BA7BED
triadic
#817BED #ED817B #7BED81
tetradic
#817BED #ED7BAE #E7ED7B #7BEDBA
square
#817BED #ED7BAE #E7ED7B #7BEDBA
split-complementary
#817BED #EDBA7B #AEED7B
monochromatic
#261DD1 #4E45E6 #817BED #B4B1F4 #E5E4FB

Accessibility & contrast

On white

3.51
#817BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#817BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817BED
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817BED#FFFFFF#000000##000000
##817BED1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#5D93A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #817bed;
/* rgb */ color: rgb(129, 123, 237);
/* oklch */ color: oklch(64.2% 0.166 283.0);
Tailwind
colors: {
  custom: {
    50: '#aba1f3',
    500: '#817bed',
    950: '#000000',
  },
}
SCSS
$custom: #817bed;
$custom-light: #aba1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#817bed",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 243.158,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64178,
    "c": 0.16616,
    "h": 283
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#817BED
secondary
#F0F1D2
accent
#D80DCE
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #817BED

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

Preview Lab → · Contrast checker → · Palette generator →

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