#8F30D0#8F30D0

#8F30D0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.9% C 0.230 H 306.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F30D0
RGBrgb(143, 48, 208)
HSLhsl(276, 63%, 50%)
HSVhsv(276, 77%, 82%)
CMYKcmyk(31.3%, 76.9%, 0%, 18.4%)
CIE-LABlab(42.01, 64.95, -64.70)
CIE-LCHlch(42.01, 91.67, 315.11°)
OKLaboklab(52.95% 0.1383 -0.184)
OKLCHoklch(52.95% 0.23 306.9)
XYZxyz(23.7673, 12.5079, 60.8245)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30D0 #71D030
analogous
#3F30D0 #8F30D0 #D030C1
triadic
#8F30D0 #D08F30 #30D08F
tetradic
#8F30D0 #D03F30 #71D030 #30C1D0
square
#8F30D0 #D03F30 #71D030 #30C1D0
split-complementary
#8F30D0 #C1D030 #30D03F
monochromatic
#4B196D #6D249F #8F30D0 #AA62DB #C594E7

Accessibility & contrast

On white

6.00
#8F30D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8F30D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30D0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30D0#FFFFFF#000000##FFFFFF
##8F30D01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#84597F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f30d0;
/* rgb */ color: rgb(143, 48, 208);
/* oklch */ color: oklch(52.9% 0.230 306.9);
Tailwind
colors: {
  custom: {
    50: '#b673df',
    500: '#8f30d0',
    950: '#000000',
  },
}
SCSS
$custom: #8f30d0;
$custom-light: #b673df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30d0",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 275.625,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.23019,
    "h": 306.9
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#8F30D0
secondary
#A7D28A
accent
#E64284
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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