#817BFB#817BFB

#817BFB is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.1% C 0.185 H 282.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#817BFB
RGBrgb(129, 123, 251)
HSLhsl(243, 94%, 73%)
HSVhsv(243, 51%, 98%)
CMYKcmyk(48.6%, 51%, 0%, 1.6%)
CIE-LABlab(57.84, 35.05, -63.43)
CIE-LCHlch(57.84, 72.47, 298.92°)
OKLaboklab(65.06% 0.0386 -0.1808)
OKLCHoklch(65.06% 0.185 282.1)
XYZxyz(33.5435, 25.7963, 94.4598)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817BFB #F5FB7B
analogous
#7BB5FB #817BFB #C17BFB
triadic
#817BFB #FB817B #7BFB81
tetradic
#817BFB #FB7BB5 #F5FB7B #7BFBC1
square
#817BFB #FB7BB5 #F5FB7B #7BFBC1
split-complementary
#817BFB #FBC17B #B5FB7B
monochromatic
#1307F4 #4840F9 #817BFB #BAB6FD #E3E1FE

Accessibility & contrast

On white

3.41
#817BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#817BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817BFB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817BFB#FFFFFF#000000##000000
##817BFB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFF
Deuteranopia (green-blind)
#3187F8
Tritanopia (blue-blind)
#5497AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #817bfb;
/* rgb */ color: rgb(129, 123, 251);
/* oklch */ color: oklch(65.1% 0.185 282.1);
Tailwind
colors: {
  custom: {
    50: '#ada1fd',
    500: '#817bfb',
    950: '#000000',
  },
}
SCSS
$custom: #817bfb;
$custom-light: #ada1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#817bfb",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 242.813,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65058,
    "c": 0.18488,
    "h": 282.1
  },
  "luminance": 0.25798
}

Semantic roles & 50–950 ramp

primary
#817BFB
secondary
#F5F6D5
accent
#E600DB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #817BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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