#8F3CDB#8F3CDB

#8F3CDB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.228 H 303.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8F3CDB
RGBrgb(143, 60, 219)
HSLhsl(271, 69%, 55%)
HSVhsv(271, 73%, 86%)
CMYKcmyk(34.7%, 72.6%, 0%, 14.1%)
CIE-LABlab(44.50, 62.67, -66.97)
CIE-LCHlch(44.50, 91.72, 313.10°)
OKLaboklab(54.96% 0.1255 -0.1908)
OKLCHoklch(54.96% 0.228 303.3)
XYZxyz(25.7267, 14.1858, 68.3869)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CDB #88DB3C
analogous
#403CDB #8F3CDB #DB3CD7
triadic
#8F3CDB #DB8F3C #3CDB8F
tetradic
#8F3CDB #DB403C #88DB3C #3CD7DB
square
#8F3CDB #DB403C #88DB3C #3CD7DB
split-complementary
#8F3CDB #D7DB3C #3CDB40
monochromatic
#511884 #7022B8 #8F3CDB #AD70E5 #CAA3EE

Accessibility & contrast

On white

5.47
#8F3CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8F3CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CDB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CDB#FFFFFF#000000##FFFFFF
##8F3CDB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#806388
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3cdb;
/* rgb */ color: rgb(143, 60, 219);
/* oklch */ color: oklch(55.0% 0.228 303.3);
Tailwind
colors: {
  custom: {
    50: '#b679e7',
    500: '#8f3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cdb;
$custom-light: #b679e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cdb",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 271.321,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.22836,
    "h": 303.3
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#8F3CDB
secondary
#B8DB98
accent
#EC3C90
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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