#8370DF#8370DF

#8370DF is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.5% C 0.163 H 288.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8370DF
RGBrgb(131, 112, 223)
HSLhsl(250, 63%, 66%)
HSVhsv(250, 50%, 87%)
CMYKcmyk(41.3%, 49.8%, 0%, 12.5%)
CIE-LABlab(53.75, 33.89, -54.38)
CIE-LCHlch(53.75, 64.08, 301.93°)
OKLaboklab(61.5% 0.0517 -0.1542)
OKLCHoklch(61.5% 0.163 288.5)
XYZxyz(28.4698, 21.7404, 72.4940)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370DF #CCDF70
analogous
#7094DF #8370DF #BA70DF
triadic
#8370DF #DF8370 #70DF83
tetradic
#8370DF #DF7094 #CCDF70 #70DFBA
square
#8370DF #DF7094 #CCDF70 #70DFBA
split-complementary
#8370DF #DFBA70 #94DF70
monochromatic
#3E27AE #583ED4 #8370DF #AEA2EA #DAD4F5

Accessibility & contrast

On white

3.93
#8370DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8370DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370DF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370DF#FFFFFF#000000##000000
##8370DF1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#427EDC
Tritanopia (blue-blind)
#69879D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8370df;
/* rgb */ color: rgb(131, 112, 223);
/* oklch */ color: oklch(61.5% 0.163 288.5);
Tailwind
colors: {
  custom: {
    50: '#ac99e9',
    500: '#8370df',
    950: '#000000',
  },
}
SCSS
$custom: #8370df;
$custom-light: #ac99e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8370df",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 250.27,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.16266,
    "h": 288.5
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#8370DF
secondary
#E2E8C3
accent
#CB1AAD
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8370DF

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

Preview Lab → · Contrast checker → · Palette generator →

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