#8F3CCB#8F3CCB

#8F3CCB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.212 H 307.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8F3CCB
RGBrgb(143, 60, 203)
HSLhsl(275, 58%, 52%)
HSVhsv(275, 70%, 80%)
CMYKcmyk(29.6%, 70.4%, 0%, 20.4%)
CIE-LABlab(43.34, 59.04, -59.66)
CIE-LCHlch(43.34, 83.94, 314.70°)
OKLaboklab(53.77% 0.1282 -0.1693)
OKLCHoklch(53.77% 0.212 307.1)
XYZxyz(23.7208, 13.3834, 57.8220)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CCB #78CB3C
analogous
#483CCB #8F3CCB #CB3CC0
triadic
#8F3CCB #CB8F3C #3CCB8F
tetradic
#8F3CCB #CB483C #78CB3C #3CC0CB
square
#8F3CCB #CB483C #78CB3C #3CC0CB
split-complementary
#8F3CCB #C0CB3C #3CCB48
monochromatic
#4D1E6F #6E2A9F #8F3CCB #AB6CD8 #C79DE5

Accessibility & contrast

On white

5.71
#8F3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8F3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CCB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CCB#FFFFFF#000000##FFFFFF
##8F3CCB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0C67C8
Tritanopia (blue-blind)
#855D7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3ccb;
/* rgb */ color: rgb(143, 60, 203);
/* oklch */ color: oklch(53.8% 0.212 307.1);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#8f3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ccb;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ccb",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 274.825,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.21236,
    "h": 307.1
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#8F3CCB
secondary
#ACD192
accent
#E14787
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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