#8F3DCB#8F3DCB

#8F3DCB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.211 H 307.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8F3DCB
RGBrgb(143, 61, 203)
HSLhsl(275, 58%, 52%)
HSVhsv(275, 70%, 80%)
CMYKcmyk(29.6%, 70%, 0%, 20.4%)
CIE-LABlab(43.49, 58.60, -59.41)
CIE-LCHlch(43.49, 83.45, 314.61°)
OKLaboklab(53.88% 0.1272 -0.1685)
OKLCHoklch(53.88% 0.211 307)
XYZxyz(23.7736, 13.4892, 57.8396)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DCB #79CB3D
analogous
#483DCB #8F3DCB #CB3DC0
triadic
#8F3DCB #CB8F3D #3DCB8F
tetradic
#8F3DCB #CB483D #79CB3D #3DC0CB
square
#8F3DCB #CB483D #79CB3D #3DC0CB
split-complementary
#8F3DCB #C0CB3D #3DCB48
monochromatic
#4D1E70 #6E2BA0 #8F3DCB #AB6DD8 #C79EE5

Accessibility & contrast

On white

5.68
#8F3DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8F3DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DCB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DCB#FFFFFF#000000##FFFFFF
##8F3DCB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0F67C8
Tritanopia (blue-blind)
#855D80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3dcb;
/* rgb */ color: rgb(143, 61, 203);
/* oklch */ color: oklch(53.9% 0.211 307.0);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#8f3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dcb;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dcb",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 274.648,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.21116,
    "h": 307
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#8F3DCB
secondary
#ADD193
accent
#E14788
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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