#8F3DCE#8F3DCE

#8F3DCE is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.214 H 306.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8F3DCE
RGBrgb(143, 61, 206)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 70%, 81%)
CMYKcmyk(30.6%, 70.4%, 0%, 19.2%)
CIE-LABlab(43.70, 59.28, -60.80)
CIE-LCHlch(43.70, 84.91, 314.28°)
OKLaboklab(54.1% 0.1268 -0.1726)
OKLCHoklch(54.1% 0.214 306.3)
XYZxyz(24.1346, 13.6336, 59.7407)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DCE #7CCE3D
analogous
#463DCE #8F3DCE #CE3DC5
triadic
#8F3DCE #CE8F3D #3DCE8F
tetradic
#8F3DCE #CE463D #7CCE3D #3DC5CE
square
#8F3DCE #CE463D #7CCE3D #3DC5CE
split-complementary
#8F3DCE #C5CE3D #3DCE46
monochromatic
#4E1D73 #6F29A4 #8F3DCE #AB6EDA #C79FE7

Accessibility & contrast

On white

5.64
#8F3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8F3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DCE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DCE#FFFFFF#000000##FFFFFF
##8F3DCE1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0168CB
Tritanopia (blue-blind)
#845E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3dce;
/* rgb */ color: rgb(143, 61, 206);
/* oklch */ color: oklch(54.1% 0.214 306.3);
Tailwind
colors: {
  custom: {
    50: '#b579de',
    500: '#8f3dce',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dce;
$custom-light: #b579de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dce",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 273.931,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.21418,
    "h": 306.3
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#8F3DCE
secondary
#AFD394
accent
#E3458A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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