#8F3FD4#8F3FD4

#8F3FD4 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.218 H 304.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8F3FD4
RGBrgb(143, 63, 212)
HSLhsl(272, 63%, 54%)
HSVhsv(272, 70%, 83%)
CMYKcmyk(32.5%, 70.3%, 0%, 16.9%)
CIE-LABlab(44.44, 59.76, -63.05)
CIE-LCHlch(44.44, 86.87, 313.47°)
OKLaboklab(54.76% 0.1239 -0.1792)
OKLCHoklch(54.76% 0.218 304.6)
XYZxyz(24.9862, 14.1482, 63.6891)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FD4 #84D43F
analogous
#453FD4 #8F3FD4 #D43FCE
triadic
#8F3FD4 #D48F3F #3FD48F
tetradic
#8F3FD4 #D4453F #84D43F #3FCED4
square
#8F3FD4 #D4453F #84D43F #3FCED4
split-complementary
#8F3FD4 #CED43F #3FD445
monochromatic
#501C7D #7027AF #8F3FD4 #AC71DF #C9A3EA

Accessibility & contrast

On white

5.48
#8F3FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8F3FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FD4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FD4#FFFFFF#000000##FFFFFF
##8F3FD41.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#826285
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3fd4;
/* rgb */ color: rgb(143, 63, 212);
/* oklch */ color: oklch(54.8% 0.218 304.6);
Tailwind
colors: {
  custom: {
    50: '#b57ae2',
    500: '#8f3fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fd4;
$custom-light: #b57ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fd4",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 272.215,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.21789,
    "h": 304.6
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#8F3FD4
secondary
#B5D798
accent
#E6418E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8F3FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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