#807CD4#807CD4

#807CD4 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.8% C 0.130 H 284.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#807CD4
RGBrgb(128, 124, 212)
HSLhsl(243, 51%, 66%)
HSVhsv(243, 42%, 83%)
CMYKcmyk(39.6%, 41.5%, 0%, 16.9%)
CIE-LABlab(55.84, 22.98, -44.87)
CIE-LCHlch(55.84, 50.41, 297.12°)
OKLaboklab(62.83% 0.0316 -0.1264)
OKLCHoklch(62.83% 0.13 284.1)
XYZxyz(27.9900, 23.7569, 65.3854)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807CD4 #D0D47C
analogous
#7CA4D4 #807CD4 #AC7CD4
triadic
#807CD4 #D4807C #7CD480
tetradic
#807CD4 #D47CA4 #D0D47C #7CD4AC
square
#807CD4 #D47CA4 #D0D47C #7CD4AC
split-complementary
#807CD4 #D4AC7C #A4D47C
monochromatic
#3A35A1 #534EC5 #807CD4 #ADAAE3 #D9D8F2

Accessibility & contrast

On white

3.65
#807CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#807CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807CD4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807CD4#FFFFFF#000000##000000
##807CD41.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D89D7
Deuteranopia (green-blind)
#5A83D2
Tritanopia (blue-blind)
#688D9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #807cd4;
/* rgb */ color: rgb(128, 124, 212);
/* oklch */ color: oklch(62.8% 0.130 284.1);
Tailwind
colors: {
  custom: {
    50: '#a8a1e1',
    500: '#807cd4',
    950: '#000000',
  },
}
SCSS
$custom: #807cd4;
$custom-light: #a8a1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#807cd4",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 242.727,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62828,
    "c": 0.13031,
    "h": 284.1
  },
  "luminance": 0.23758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #807CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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