#8370CD#8370CD

#8370CD is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.4% C 0.138 H 291.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8370CD
RGBrgb(131, 112, 205)
HSLhsl(252, 48%, 62%)
HSVhsv(252, 45%, 80%)
CMYKcmyk(36.1%, 45.4%, 0%, 19.6%)
CIE-LABlab(52.75, 28.94, -45.78)
CIE-LCHlch(52.75, 54.16, 302.30°)
OKLaboklab(60.43% 0.0497 -0.129)
OKLCHoklch(60.43% 0.138 291.1)
XYZxyz(26.1708, 20.8208, 60.3857)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370CD #BACD70
analogous
#708CCD #8370CD #B270CD
triadic
#8370CD #CD8370 #70CD83
tetradic
#8370CD #CD708C #BACD70 #70CDB2
square
#8370CD #CD708C #BACD70 #70CDB2
split-complementary
#8370CD #CDB270 #8CCD70
monochromatic
#463290 #5C43BD #8370CD #AA9DDD #D2CBED

Accessibility & contrast

On white

4.07
#8370CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8370CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370CD#FFFFFF#000000##000000
##8370CD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#708295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8370cd;
/* rgb */ color: rgb(131, 112, 205);
/* oklch */ color: oklch(60.4% 0.138 291.1);
Tailwind
colors: {
  custom: {
    50: '#aa99dd',
    500: '#8370cd',
    950: '#000000',
  },
}
SCSS
$custom: #8370cd;
$custom-light: #aa99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8370cd",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 252.258,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.13828,
    "h": 291.1
  },
  "luminance": 0.20821
}

Semantic roles & 50–950 ramp

primary
#8370CD
secondary
#D6DDBB
accent
#BB2A9E
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8370CD

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

Preview Lab → · Contrast checker → · Palette generator →

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