#807AC7#807AC7

#807AC7 is a mid, moderate blue. Relative luminance 0.226; OKLCH L 61.7% C 0.115 H 286.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#807AC7
RGBrgb(128, 122, 199)
HSLhsl(245, 41%, 63%)
HSVhsv(245, 39%, 78%)
CMYKcmyk(35.7%, 38.7%, 0%, 22%)
CIE-LABlab(54.69, 20.57, -39.32)
CIE-LCHlch(54.69, 44.38, 297.62°)
OKLaboklab(61.74% 0.0318 -0.1103)
OKLCHoklch(61.74% 0.115 286.1)
XYZxyz(26.1676, 22.6310, 57.0113)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807AC7 #C1C77A
analogous
#7A9AC7 #807AC7 #A67AC7
triadic
#807AC7 #C7807A #7AC780
tetradic
#807AC7 #C77A9A #C1C77A #7AC7A6
square
#807AC7 #C77A9A #C1C77A #7AC7A6
split-complementary
#807AC7 #C7A67A #9AC77A
monochromatic
#413B8C #574FB5 #807AC7 #A9A5D9 #D2D0EB

Accessibility & contrast

On white

3.80
#807AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#807AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807AC7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807AC7#FFFFFF#000000##000000
##807AC71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CA
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#6D8997
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #807ac7;
/* rgb */ color: rgb(128, 122, 199);
/* oklch */ color: oklch(61.7% 0.115 286.1);
Tailwind
colors: {
  custom: {
    50: '#a7a0d8',
    500: '#807ac7',
    950: '#000000',
  },
}
SCSS
$custom: #807ac7;
$custom-light: #a7a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#807ac7",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 244.675,
    "s": 40.741,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.11475,
    "h": 286.1
  },
  "luminance": 0.22632
}

Semantic roles & 50–950 ramp

primary
#807AC7
secondary
#DADCC1
accent
#B432AA
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #807AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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