#807DB3#807DB3

#807DB3 is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.3% C 0.081 H 286.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#807DB3
RGBrgb(128, 125, 179)
HSLhsl(243, 26%, 60%)
HSVhsv(243, 30%, 70%)
CMYKcmyk(28.5%, 30.2%, 0%, 29.8%)
CIE-LABlab(54.56, 13.49, -28.08)
CIE-LCHlch(54.56, 31.15, 295.66°)
OKLaboklab(61.34% 0.0227 -0.0778)
OKLCHoklch(61.34% 0.081 286.3)
XYZxyz(24.3703, 22.5106, 45.7001)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DB3 #B0B37D
analogous
#7D95B3 #807DB3 #9B7DB3
triadic
#807DB3 #B3807D #7DB380
tetradic
#807DB3 #B37D95 #B0B37D #7DB39B
square
#807DB3 #B37D95 #B0B37D #7DB39B
split-complementary
#807DB3 #B39B7D #95B37D
monochromatic
#464373 #5D5A99 #807DB3 #A6A4CA #CBCAE0

Accessibility & contrast

On white

3.82
#807DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#807DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DB3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DB3#FFFFFF#000000##000000
##807DB31.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B5
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#748790
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #807db3;
/* rgb */ color: rgb(128, 125, 179);
/* oklch */ color: oklch(61.3% 0.081 286.3);
Tailwind
colors: {
  custom: {
    50: '#a6a2ca',
    500: '#807db3',
    950: '#000000',
  },
}
SCSS
$custom: #807db3;
$custom-light: #a6a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#807db3",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 179
  },
  "hsl": {
    "h": 243.333,
    "s": 26.214,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.08108,
    "h": 286.3
  },
  "luminance": 0.22511
}

Semantic roles & 50–950 ramp

primary
#807DB3
secondary
#CFD0BB
accent
#C365BD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #807DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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