#8F3FDB#8F3FDB

#8F3FDB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.225 H 303.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8F3FDB
RGBrgb(143, 63, 219)
HSLhsl(271, 68%, 55%)
HSVhsv(271, 71%, 86%)
CMYKcmyk(34.7%, 71.2%, 0%, 14.1%)
CIE-LABlab(44.95, 61.38, -66.23)
CIE-LCHlch(44.95, 90.30, 312.82°)
OKLaboklab(55.28% 0.1227 -0.1886)
OKLCHoklch(55.28% 0.225 303)
XYZxyz(25.8884, 14.5091, 68.4408)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FDB #8BDB3F
analogous
#413FDB #8F3FDB #DB3FD9
triadic
#8F3FDB #DB8F3F #3FDB8F
tetradic
#8F3FDB #DB413F #8BDB3F #3FD9DB
square
#8F3FDB #DB413F #8BDB3F #3FD9DB
split-complementary
#8F3FDB #D9DB3F #3FDB41
monochromatic
#511986 #7023BA #8F3FDB #AD73E5 #CBA6EE

Accessibility & contrast

On white

5.38
#8F3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8F3FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FDB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FDB#FFFFFF#000000##FFFFFF
##8F3FDB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#806589
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f3fdb;
/* rgb */ color: rgb(143, 63, 219);
/* oklch */ color: oklch(55.3% 0.225 303.0);
Tailwind
colors: {
  custom: {
    50: '#b67be7',
    500: '#8f3fdb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fdb;
$custom-light: #b67be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fdb",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 270.769,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.22501,
    "h": 303
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#8F3FDB
secondary
#BADC9A
accent
#EB3D92
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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