#8370CF#8370CF

#8370CF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.5% C 0.141 H 290.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8370CF
RGBrgb(131, 112, 207)
HSLhsl(252, 50%, 63%)
HSVhsv(252, 46%, 81%)
CMYKcmyk(36.7%, 45.9%, 0%, 18.8%)
CIE-LABlab(52.86, 29.48, -46.75)
CIE-LCHlch(52.86, 55.27, 302.24°)
OKLaboklab(60.54% 0.05 -0.1319)
OKLCHoklch(60.54% 0.141 290.8)
XYZxyz(26.4137, 20.9179, 61.6653)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370CF #BCCF70
analogous
#708DCF #8370CF #B270CF
triadic
#8370CF #CF8370 #70CF83
tetradic
#8370CF #CF708D #BCCF70 #70CFB2
square
#8370CF #CF708D #BCCF70 #70CFB2
split-complementary
#8370CF #CFB270 #8DCF70
monochromatic
#453193 #5B42C0 #8370CF #AB9EDE #D2CCEE

Accessibility & contrast

On white

4.05
#8370CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8370CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370CF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370CF#FFFFFF#000000##000000
##8370CF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#708395
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8370cf;
/* rgb */ color: rgb(131, 112, 207);
/* oklch */ color: oklch(60.5% 0.141 290.8);
Tailwind
colors: {
  custom: {
    50: '#aa99de',
    500: '#8370cf',
    950: '#000000',
  },
}
SCSS
$custom: #8370cf;
$custom-light: #aa99de;
$custom-dark: #000000;
JSON
{
  "hex": "#8370cf",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 252,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60544,
    "c": 0.14102,
    "h": 290.8
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#8370CF
secondary
#D8DFBC
accent
#BD289F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8370CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8370CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva