#8F3FDD#8F3FDD

#8F3FDD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.227 H 302.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F3FDD
RGBrgb(143, 63, 221)
HSLhsl(270, 70%, 56%)
HSVhsv(270, 71%, 87%)
CMYKcmyk(35.3%, 71.5%, 0%, 13.3%)
CIE-LABlab(45.10, 61.84, -67.13)
CIE-LCHlch(45.10, 91.27, 312.65°)
OKLaboklab(55.43% 0.1224 -0.1912)
OKLCHoklch(55.43% 0.227 302.6)
XYZxyz(26.1533, 14.6151, 69.8357)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FDD #8DDD3F
analogous
#403FDD #8F3FDD #DD3FDC
triadic
#8F3FDD #DD8F3F #3FDD8F
tetradic
#8F3FDD #DD403F #8DDD3F #3FDCDD
square
#8F3FDD #DD403F #8DDD3F #3FDCDD
split-complementary
#8F3FDD #DCDD3F #3FDD40
monochromatic
#521889 #7022BD #8F3FDD #AD73E6 #CCA7EF

Accessibility & contrast

On white

5.35
#8F3FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8F3FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FDD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FDD#FFFFFF#000000##FFFFFF
##8F3FDD1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#7F658A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f3fdd;
/* rgb */ color: rgb(143, 63, 221);
/* oklch */ color: oklch(55.4% 0.227 302.6);
Tailwind
colors: {
  custom: {
    50: '#b67be9',
    500: '#8f3fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fdd;
$custom-light: #b67be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fdd",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 221
  },
  "hsl": {
    "h": 270.38,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.22704,
    "h": 302.6
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#8F3FDD
secondary
#BBDD9B
accent
#ED3B93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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