#807AFB#807AFB

#807AFB is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.186 H 282.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#807AFB
RGBrgb(128, 122, 251)
HSLhsl(243, 94%, 73%)
HSVhsv(243, 51%, 98%)
CMYKcmyk(49%, 51.4%, 0%, 1.6%)
CIE-LABlab(57.53, 35.43, -63.94)
CIE-LCHlch(57.53, 73.09, 298.99°)
OKLaboklab(64.81% 0.0386 -0.1823)
OKLCHoklch(64.81% 0.186 282)
XYZxyz(33.2689, 25.4715, 94.4116)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807AFB #F5FB7A
analogous
#7AB4FB #807AFB #C17AFB
triadic
#807AFB #FB807A #7AFB80
tetradic
#807AFB #FB7AB4 #F5FB7A #7AFBC1
square
#807AFB #FB7AB4 #F5FB7A #7AFBC1
split-complementary
#807AFB #FBC17A #B4FB7A
monochromatic
#1207F3 #473FF9 #807AFB #B9B5FD #E3E1FE

Accessibility & contrast

On white

3.45
#807AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#807AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807AFB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807AFB#FFFFFF#000000##000000
##807AFB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#2E86F8
Tritanopia (blue-blind)
#5296AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #807afb;
/* rgb */ color: rgb(128, 122, 251);
/* oklch */ color: oklch(64.8% 0.186 282.0);
Tailwind
colors: {
  custom: {
    50: '#aca0fd',
    500: '#807afb',
    950: '#000000',
  },
}
SCSS
$custom: #807afb;
$custom-light: #aca0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#807afb",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 242.791,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.64806,
    "c": 0.18635,
    "h": 282
  },
  "luminance": 0.25473
}

Semantic roles & 50–950 ramp

primary
#807AFB
secondary
#F5F6D5
accent
#E600DB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #807AFB

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

Preview Lab → · Contrast checker → · Palette generator →

#807AFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva