#807CEA#807CEA

#807CEA is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.1% C 0.161 H 282.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#807CEA
RGBrgb(128, 124, 234)
HSLhsl(242, 72%, 70%)
HSVhsv(242, 47%, 92%)
CMYKcmyk(45.3%, 47%, 0%, 8.2%)
CIE-LABlab(57.02, 29.27, -55.33)
CIE-LCHlch(57.02, 62.59, 297.88°)
OKLaboklab(64.1% 0.0348 -0.157)
OKLCHoklch(64.1% 0.161 282.5)
XYZxyz(30.9566, 24.9436, 81.0094)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807CEA #E6EA7C
analogous
#7CAFEA #807CEA #B77CEA
triadic
#807CEA #EA807C #7CEA80
tetradic
#807CEA #EA7CAF #E6EA7C #7CEAB7
square
#807CEA #EA7CAF #E6EA7C #7CEAB7
split-complementary
#807CEA #EAB77C #AFEA7C
monochromatic
#2721CB #4D47E2 #807CEA #B3B1F2 #E5E5FB

Accessibility & contrast

On white

3.51
#807CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#807CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807CEA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807CEA#FFFFFF#000000##000000
##807CEA1.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)
#4E8DEE
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#5D93A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #807cea;
/* rgb */ color: rgb(128, 124, 234);
/* oklch */ color: oklch(64.1% 0.161 282.5);
Tailwind
colors: {
  custom: {
    50: '#aaa2f1',
    500: '#807cea',
    950: '#000000',
  },
}
SCSS
$custom: #807cea;
$custom-light: #aaa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#807cea",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 242.182,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64102,
    "c": 0.16084,
    "h": 282.5
  },
  "luminance": 0.24945
}

Semantic roles & 50–950 ramp

primary
#807CEA
secondary
#EFF0D2
accent
#D411CD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #807CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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