#8F3DD2#8F3DD2

#8F3DD2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.218 H 305.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8F3DD2
RGBrgb(143, 61, 210)
HSLhsl(273, 62%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(31.9%, 71%, 0%, 17.6%)
CIE-LABlab(43.99, 60.18, -62.64)
CIE-LCHlch(43.99, 86.87, 313.86°)
OKLaboklab(54.39% 0.1262 -0.178)
OKLCHoklch(54.39% 0.218 305.3)
XYZxyz(24.6267, 13.8304, 62.3324)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DD2 #80D23D
analogous
#443DD2 #8F3DD2 #D23DCA
triadic
#8F3DD2 #D28F3D #3DD28F
tetradic
#8F3DD2 #D2443D #80D23D #3DCAD2
square
#8F3DD2 #D2443D #80D23D #3DCAD2
split-complementary
#8F3DD2 #CAD23D #3DD244
monochromatic
#4F1C79 #6F28AA #8F3DD2 #AC6FDE #C8A0E9

Accessibility & contrast

On white

5.58
#8F3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8F3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DD2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DD2#FFFFFF#000000##FFFFFF
##8F3DD21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#836084
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3dd2;
/* rgb */ color: rgb(143, 61, 210);
/* oklch */ color: oklch(54.4% 0.218 305.3);
Tailwind
colors: {
  custom: {
    50: '#b579e1',
    500: '#8f3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dd2;
$custom-light: #b579e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dd2",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 273.02,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.21821,
    "h": 305.3
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#8F3DD2
secondary
#B2D695
accent
#E5428C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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