#807EC2#807EC2

#807EC2 is a light, moderate blue. Relative luminance 0.234; OKLCH L 62.3% C 0.102 H 284.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#807EC2
RGBrgb(128, 126, 194)
HSLhsl(242, 36%, 63%)
HSVhsv(242, 35%, 76%)
CMYKcmyk(34%, 35.1%, 0%, 23.9%)
CIE-LABlab(55.49, 16.85, -35.22)
CIE-LCHlch(55.49, 39.04, 295.56°)
OKLaboklab(62.27% 0.0252 -0.0984)
OKLCHoklch(62.27% 0.102 284.4)
XYZxyz(26.0979, 23.4052, 54.1711)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807EC2 #C0C27E
analogous
#7E9EC2 #807EC2 #A27EC2
triadic
#807EC2 #C2807E #7EC280
tetradic
#807EC2 #C27E9E #C0C27E #7EC2A2
square
#807EC2 #C27E9E #C0C27E #7EC2A2
split-complementary
#807EC2 #C2A27E #9EC27E
monochromatic
#423F86 #5754AE #807EC2 #A9A8D6 #D2D1E9

Accessibility & contrast

On white

3.70
#807EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#807EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807EC2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807EC2#FFFFFF#000000##000000
##807EC21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6987C5
Deuteranopia (green-blind)
#6783C0
Tritanopia (blue-blind)
#6F8B97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #807ec2;
/* rgb */ color: rgb(128, 126, 194);
/* oklch */ color: oklch(62.3% 0.102 284.4);
Tailwind
colors: {
  custom: {
    50: '#a7a3d4',
    500: '#807ec2',
    950: '#000000',
  },
}
SCSS
$custom: #807ec2;
$custom-light: #a7a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#807ec2",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 241.765,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62271,
    "c": 0.10158,
    "h": 284.4
  },
  "luminance": 0.23406
}

Semantic roles & 50–950 ramp

primary
#807EC2
secondary
#D9DAC2
accent
#AF37AB
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #807EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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