#807DD2#807DD2

#807DD2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.126 H 283.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#807DD2
RGBrgb(128, 125, 210)
HSLhsl(242, 49%, 66%)
HSVhsv(242, 40%, 82%)
CMYKcmyk(39%, 40.5%, 0%, 17.6%)
CIE-LABlab(56.00, 21.83, -43.50)
CIE-LCHlch(56.00, 48.67, 296.65°)
OKLaboklab(62.91% 0.03 -0.1224)
OKLCHoklch(62.91% 0.126 283.8)
XYZxyz(27.8653, 23.9086, 64.1069)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DD2 #CFD27D
analogous
#7DA4D2 #807DD2 #AA7DD2
triadic
#807DD2 #D2807D #7DD280
tetradic
#807DD2 #D27DA4 #CFD27D #7DD2AA
square
#807DD2 #D27DA4 #CFD27D #7DD2AA
split-complementary
#807DD2 #D2AA7D #A4D27D
monochromatic
#3A379E #5450C2 #807DD2 #ACAAE2 #D9D8F1

Accessibility & contrast

On white

3.63
#807DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#807DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DD2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DD2#FFFFFF#000000##000000
##807DD21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6089D5
Deuteranopia (green-blind)
#5D84D0
Tritanopia (blue-blind)
#698E9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #807dd2;
/* rgb */ color: rgb(128, 125, 210);
/* oklch */ color: oklch(62.9% 0.126 283.8);
Tailwind
colors: {
  custom: {
    50: '#a8a2e0',
    500: '#807dd2',
    950: '#000000',
  },
}
SCSS
$custom: #807dd2;
$custom-light: #a8a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#807dd2",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 242.118,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62911,
    "c": 0.12603,
    "h": 283.8
  },
  "luminance": 0.2391
}

Semantic roles & 50–950 ramp

primary
#807DD2
secondary
#E3E4C7
accent
#BC2AB7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #807DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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