#8F34CC#8F34CC

#8F34CC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.222 H 307.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8F34CC
RGBrgb(143, 52, 204)
HSLhsl(276, 60%, 50%)
HSVhsv(276, 75%, 80%)
CMYKcmyk(29.9%, 74.5%, 0%, 20%)
CIE-LABlab(42.24, 62.57, -62.01)
CIE-LCHlch(42.24, 88.10, 315.26°)
OKLaboklab(53.02% 0.1357 -0.1761)
OKLCHoklch(53.02% 0.222 307.6)
XYZxyz(23.4525, 12.6556, 58.3223)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34CC #71CC34
analogous
#4334CC #8F34CC #CC34BD
triadic
#8F34CC #CC8F34 #34CC8F
tetradic
#8F34CC #CC4334 #71CC34 #34BDCC
square
#8F34CC #CC4334 #71CC34 #34BDCC
split-complementary
#8F34CC #BDCC34 #34CC43
monochromatic
#4B1B6B #6D279C #8F34CC #AA65D8 #C596E5

Accessibility & contrast

On white

5.95
#8F34CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8F34CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34CC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34CC#FFFFFF#000000##FFFFFF
##8F34CC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#85597E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f34cc;
/* rgb */ color: rgb(143, 52, 204);
/* oklch */ color: oklch(53.0% 0.222 307.6);
Tailwind
colors: {
  custom: {
    50: '#b575dc',
    500: '#8f34cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f34cc;
$custom-light: #b575dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34cc",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 275.921,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.22236,
    "h": 307.6
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#8F34CC
secondary
#A7D08C
accent
#E34584
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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