#8F3DCC#8F3DCC

#8F3DCC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.212 H 306.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F3DCC
RGBrgb(143, 61, 204)
HSLhsl(274, 58%, 52%)
HSVhsv(274, 70%, 80%)
CMYKcmyk(29.9%, 70.1%, 0%, 20%)
CIE-LABlab(43.56, 58.83, -59.87)
CIE-LCHlch(43.56, 83.94, 314.50°)
OKLaboklab(53.95% 0.1271 -0.1699)
OKLCHoklch(53.95% 0.212 306.8)
XYZxyz(23.8932, 13.5370, 58.4692)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DCC #7ACC3D
analogous
#483DCC #8F3DCC #CC3DC1
triadic
#8F3DCC #CC8F3D #3DCC8F
tetradic
#8F3DCC #CC483D #7ACC3D #3DC1CC
square
#8F3DCC #CC483D #7ACC3D #3DC1CC
split-complementary
#8F3DCC #C1CC3D #3DCC48
monochromatic
#4D1E71 #6F2AA1 #8F3DCC #AB6DD9 #C79EE5

Accessibility & contrast

On white

5.66
#8F3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8F3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DCC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DCC#FFFFFF#000000##FFFFFF
##8F3DCC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0B67C9
Tritanopia (blue-blind)
#855E80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3dcc;
/* rgb */ color: rgb(143, 61, 204);
/* oklch */ color: oklch(54.0% 0.212 306.8);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#8f3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dcc;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dcc",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 274.406,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.21217,
    "h": 306.8
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#8F3DCC
secondary
#AED293
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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