#8F38CE#8F38CE

#8F38CE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.220 H 306.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8F38CE
RGBrgb(143, 56, 206)
HSLhsl(275, 60%, 51%)
HSVhsv(275, 73%, 81%)
CMYKcmyk(30.6%, 72.8%, 0%, 19.2%)
CIE-LABlab(42.95, 61.41, -62.02)
CIE-LCHlch(42.95, 87.27, 314.72°)
OKLaboklab(53.56% 0.1317 -0.1762)
OKLCHoklch(53.56% 0.22 306.8)
XYZxyz(23.8800, 13.1245, 59.6558)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38CE #77CE38
analogous
#4438CE #8F38CE #CE38C2
triadic
#8F38CE #CE8F38 #38CE8F
tetradic
#8F38CE #CE4438 #77CE38 #38C2CE
square
#8F38CE #CE4438 #77CE38 #38C2CE
split-complementary
#8F38CE #C2CE38 #38CE44
monochromatic
#4D1C70 #6E28A1 #8F38CE #AB69DA #C69AE6

Accessibility & contrast

On white

5.79
#8F38CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F38CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38CE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38CE#FFFFFF#000000##FFFFFF
##8F38CE1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#845C80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f38ce;
/* rgb */ color: rgb(143, 56, 206);
/* oklch */ color: oklch(53.6% 0.220 306.8);
Tailwind
colors: {
  custom: {
    50: '#b577de',
    500: '#8f38ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f38ce;
$custom-light: #b577de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38ce",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 274.8,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.21993,
    "h": 306.8
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#8F38CE
secondary
#ACD290
accent
#E44487
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F38CE

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

Preview Lab → · Contrast checker → · Palette generator →

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