#817BD2#817BD2

#817BD2 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.129 H 285.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#817BD2
RGBrgb(129, 123, 210)
HSLhsl(244, 49%, 65%)
HSVhsv(244, 41%, 82%)
CMYKcmyk(38.6%, 41.4%, 0%, 17.6%)
CIE-LABlab(55.57, 23.28, -44.17)
CIE-LCHlch(55.57, 49.92, 297.79°)
OKLaboklab(62.61% 0.0337 -0.1243)
OKLCHoklch(62.61% 0.129 285.2)
XYZxyz(27.7658, 23.4852, 64.0304)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817BD2 #CCD27B
analogous
#7BA0D2 #817BD2 #AC7BD2
triadic
#817BD2 #D2817B #7BD281
tetradic
#817BD2 #D27BA0 #CCD27B #7BD2AC
square
#817BD2 #D27BA0 #CCD27B #7BD2AC
split-complementary
#817BD2 #D2AC7B #A0D27B
monochromatic
#3D369D #554DC2 #817BD2 #ADA9E2 #D8D6F1

Accessibility & contrast

On white

3.69
#817BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#817BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817BD2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817BD2#FFFFFF#000000##000000
##817BD21.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D88D5
Deuteranopia (green-blind)
#5B83D0
Tritanopia (blue-blind)
#6A8C9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #817bd2;
/* rgb */ color: rgb(129, 123, 210);
/* oklch */ color: oklch(62.6% 0.129 285.2);
Tailwind
colors: {
  custom: {
    50: '#a9a1e0',
    500: '#817bd2',
    950: '#000000',
  },
}
SCSS
$custom: #817bd2;
$custom-light: #a9a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#817bd2",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 244.138,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62605,
    "c": 0.12883,
    "h": 285.2
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#817BD2
secondary
#E1E3C6
accent
#BC29B2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #817BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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