#8F3EE3#8F3EE3

#8F3EE3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.8% C 0.234 H 301.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F3EE3
RGBrgb(143, 62, 227)
HSLhsl(269, 75%, 57%)
HSVhsv(269, 73%, 89%)
CMYKcmyk(37%, 72.7%, 0%, 11%)
CIE-LABlab(45.40, 63.66, -70.06)
CIE-LCHlch(45.40, 94.66, 312.26°)
OKLaboklab(55.79% 0.1221 -0.1998)
OKLCHoklch(55.79% 0.234 301.4)
XYZxyz(26.9121, 14.8308, 74.1029)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EE3 #92E33E
analogous
#3E3FE3 #8F3EE3 #E23EE3
triadic
#8F3EE3 #E38F3E #3EE38F
tetradic
#8F3EE3 #E33E3F #92E33E #3EE3E2
square
#8F3EE3 #E33E3F #92E33E #3EE3E2
split-complementary
#8F3EE3 #E3E23E #3FE33E
monochromatic
#521591 #701DC7 #8F3EE3 #AE73EB #CDA9F3

Accessibility & contrast

On white

5.29
#8F3EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8F3EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EE3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EE3#FFFFFF#000000##FFFFFF
##8F3EE31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#7D678D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f3ee3;
/* rgb */ color: rgb(143, 62, 227);
/* oklch */ color: oklch(55.8% 0.234 301.4);
Tailwind
colors: {
  custom: {
    50: '#b67bed',
    500: '#8f3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ee3;
$custom-light: #b67bed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ee3",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 269.455,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.23421,
    "h": 301.4
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#8F3EE3
secondary
#BFE09D
accent
#F13796
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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