#807DB2#807DB2

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

Color values

HEX#807DB2
RGBrgb(128, 125, 178)
HSLhsl(243, 26%, 59%)
HSVhsv(243, 30%, 70%)
CMYKcmyk(28.1%, 29.8%, 0%, 30.2%)
CIE-LABlab(54.52, 13.23, -27.57)
CIE-LCHlch(54.52, 30.58, 295.64°)
OKLaboklab(61.3% 0.0225 -0.0764)
OKLCHoklch(61.3% 0.08 286.4)
XYZxyz(24.2695, 22.4703, 45.1694)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DB2 #AFB27D
analogous
#7D95B2 #807DB2 #9B7DB2
triadic
#807DB2 #B2807D #7DB280
tetradic
#807DB2 #B27D95 #AFB27D #7DB29B
square
#807DB2 #B27D95 #AFB27D #7DB29B
split-complementary
#807DB2 #B29B7D #95B27D
monochromatic
#464371 #5D5A98 #807DB2 #A6A3C9 #CBCAE0

Accessibility & contrast

On white

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

On black

5.49
#807DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807DB2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807DB2#FFFFFF#000000##000000
##807DB21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B4
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#748690
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #807db2;
/* rgb */ color: rgb(128, 125, 178);
/* oklch */ color: oklch(61.3% 0.080 286.4);
Tailwind
colors: {
  custom: {
    50: '#a6a2c9',
    500: '#807db2',
    950: '#000000',
  },
}
SCSS
$custom: #807db2;
$custom-light: #a6a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#807db2",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 243.396,
    "s": 25.604,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.0796,
    "h": 286.4
  },
  "luminance": 0.22471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #807DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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