#8F38C8#8F38C8

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

Color values

HEX#8F38C8
RGBrgb(143, 56, 200)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 72%, 78%)
CMYKcmyk(28.5%, 72%, 0%, 21.6%)
CIE-LABlab(42.52, 60.08, -59.24)
CIE-LCHlch(42.52, 84.38, 315.40°)
OKLaboklab(53.12% 0.1327 -0.168)
OKLCHoklch(53.12% 0.214 308.3)
XYZxyz(23.1650, 12.8385, 55.8901)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38C8 #71C838
analogous
#4738C8 #8F38C8 #C838B9
triadic
#8F38C8 #C88F38 #38C88F
tetradic
#8F38C8 #C84738 #71C838 #38B9C8
square
#8F38C8 #C84738 #71C838 #38B9C8
split-complementary
#8F38C8 #B9C838 #38C847
monochromatic
#4B1D69 #6D2A99 #8F38C8 #AA68D5 #C598E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F38C8#FFFFFF#000000##FFFFFF
##8F38C81.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)
#0061CC
Deuteranopia (green-blind)
#0B65C5
Tritanopia (blue-blind)
#86597D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f38c8;
/* rgb */ color: rgb(143, 56, 200);
/* oklch */ color: oklch(53.1% 0.214 308.3);
Tailwind
colors: {
  custom: {
    50: '#b576da',
    500: '#8f38c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f38c8;
$custom-light: #b576da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38c8",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 276.25,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.21408,
    "h": 308.3
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#8F38C8
secondary
#A7CE8E
accent
#E04884
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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