#8F3CBF#8F3CBF

#8F3CBF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.200 H 310.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F3CBF
RGBrgb(143, 60, 191)
HSLhsl(278, 52%, 49%)
HSVhsv(278, 69%, 75%)
CMYKcmyk(25.1%, 68.6%, 0%, 25.1%)
CIE-LABlab(42.51, 56.39, -54.01)
CIE-LCHlch(42.51, 78.09, 316.23°)
OKLaboklab(52.92% 0.1297 -0.1527)
OKLCHoklch(52.92% 0.2 310.4)
XYZxyz(22.3457, 12.8334, 50.5801)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CBF #6CBF3C
analogous
#4E3CBF #8F3CBF #BF3CAE
triadic
#8F3CBF #BF8F3C #3CBF8F
tetradic
#8F3CBF #BF4E3C #6CBF3C #3CAEBF
square
#8F3CBF #BF4E3C #6CBF3C #3CAEBF
split-complementary
#8F3CBF #AEBF3C #3CBF4E
monochromatic
#491F62 #6C2D90 #8F3CBF #AA68D0 #C497DE

Accessibility & contrast

On white

5.89
#8F3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8F3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CBF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CBF#FFFFFF#000000##FFFFFF
##8F3CBF1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#895879
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3cbf;
/* rgb */ color: rgb(143, 60, 191);
/* oklch */ color: oklch(52.9% 0.200 310.4);
Tailwind
colors: {
  custom: {
    50: '#b478d3',
    500: '#8f3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cbf;
$custom-light: #b478d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cbf",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 278.015,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.20035,
    "h": 310.4
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#8F3CBF
secondary
#A3CA8D
accent
#DC4C81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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