#807CC2#807CC2

#807CC2 is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.9% C 0.105 H 285.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#807CC2
RGBrgb(128, 124, 194)
HSLhsl(243, 36%, 62%)
HSVhsv(243, 36%, 76%)
CMYKcmyk(34%, 36.1%, 0%, 23.9%)
CIE-LABlab(54.97, 18.03, -36.04)
CIE-LCHlch(54.97, 40.30, 296.58°)
OKLaboklab(61.87% 0.028 -0.1007)
OKLCHoklch(61.87% 0.105 285.5)
XYZxyz(25.8447, 22.8988, 54.0867)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807CC2 #BEC27C
analogous
#7C9BC2 #807CC2 #A37CC2
triadic
#807CC2 #C2807C #7CC280
tetradic
#807CC2 #C27C9B #BEC27C #7CC2A3
square
#807CC2 #C27C9B #BEC27C #7CC2A3
split-complementary
#807CC2 #C2A37C #9BC27C
monochromatic
#423E85 #5852AF #807CC2 #A8A6D5 #D1D0E9

Accessibility & contrast

On white

3.76
#807CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#807CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807CC2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807CC2#FFFFFF#000000##000000
##807CC21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6786C5
Deuteranopia (green-blind)
#6582C0
Tritanopia (blue-blind)
#6F8996
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #807cc2;
/* rgb */ color: rgb(128, 124, 194);
/* oklch */ color: oklch(61.9% 0.105 285.5);
Tailwind
colors: {
  custom: {
    50: '#a7a1d4',
    500: '#807cc2',
    950: '#000000',
  },
}
SCSS
$custom: #807cc2;
$custom-light: #a7a1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#807cc2",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 243.429,
    "s": 36.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.10455,
    "h": 285.5
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#807CC2
secondary
#D8DAC0
accent
#AF36A8
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #807CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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