#8370CE#8370CE

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

Color values

HEX#8370CE
RGBrgb(131, 112, 206)
HSLhsl(252, 49%, 62%)
HSVhsv(252, 46%, 81%)
CMYKcmyk(36.4%, 45.6%, 0%, 19.2%)
CIE-LABlab(52.81, 29.21, -46.26)
CIE-LCHlch(52.81, 54.71, 302.26°)
OKLaboklab(60.49% 0.0499 -0.1304)
OKLCHoklch(60.49% 0.14 290.9)
XYZxyz(26.2919, 20.8692, 61.0235)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370CE #BBCE70
analogous
#708CCE #8370CE #B270CE
triadic
#8370CE #CE8370 #70CE83
tetradic
#8370CE #CE708C #BBCE70 #70CEB2
square
#8370CE #CE708C #BBCE70 #70CEB2
split-complementary
#8370CE #CEB270 #8CCE70
monochromatic
#453292 #5B42BE #8370CE #AB9EDE #D2CBED

Accessibility & contrast

On white

4.06
#8370CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8370CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370CE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370CE#FFFFFF#000000##000000
##8370CE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D1
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#708295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8370ce;
/* rgb */ color: rgb(131, 112, 206);
/* oklch */ color: oklch(60.5% 0.140 290.9);
Tailwind
colors: {
  custom: {
    50: '#aa99dd',
    500: '#8370ce',
    950: '#000000',
  },
}
SCSS
$custom: #8370ce;
$custom-light: #aa99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8370ce",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 252.128,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.13964,
    "h": 290.9
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#8370CE
secondary
#D7DEBC
accent
#BC299F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8370CE

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

Preview Lab → · Contrast checker → · Palette generator →

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