#8F38CD#8F38CD

#8F38CD is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.219 H 307.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8F38CD
RGBrgb(143, 56, 205)
HSLhsl(275, 60%, 51%)
HSVhsv(275, 73%, 80%)
CMYKcmyk(30.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(42.88, 61.18, -61.56)
CIE-LCHlch(42.88, 86.79, 314.83°)
OKLaboklab(53.49% 0.1318 -0.1748)
OKLCHoklch(53.49% 0.219 307)
XYZxyz(23.7589, 13.0761, 59.0181)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38CD #76CD38
analogous
#4438CD #8F38CD #CD38C0
triadic
#8F38CD #CD8F38 #38CD8F
tetradic
#8F38CD #CD4438 #76CD38 #38C0CD
square
#8F38CD #CD4438 #76CD38 #38C0CD
split-complementary
#8F38CD #C0CD38 #38CD44
monochromatic
#4C1C6F #6E28A0 #8F38CD #AB69D9 #C69AE6

Accessibility & contrast

On white

5.81
#8F38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F38CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38CD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38CD#FFFFFF#000000##FFFFFF
##8F38CD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#855B80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f38cd;
/* rgb */ color: rgb(143, 56, 205);
/* oklch */ color: oklch(53.5% 0.219 307.0);
Tailwind
colors: {
  custom: {
    50: '#b577dd',
    500: '#8f38cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f38cd;
$custom-light: #b577dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38cd",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 275.034,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.21896,
    "h": 307
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#8F38CD
secondary
#ABD18F
accent
#E34587
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F38CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8F38CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva