#8F38CF#8F38CF

#8F38CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.221 H 306.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8F38CF
RGBrgb(143, 56, 207)
HSLhsl(275, 61%, 52%)
HSVhsv(275, 73%, 81%)
CMYKcmyk(30.9%, 72.9%, 0%, 18.8%)
CIE-LABlab(43.02, 61.63, -62.48)
CIE-LCHlch(43.02, 87.76, 314.61°)
OKLaboklab(53.64% 0.1315 -0.1775)
OKLCHoklch(53.64% 0.221 306.5)
XYZxyz(24.0019, 13.1732, 60.2976)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38CF #78CF38
analogous
#4438CF #8F38CF #CF38C3
triadic
#8F38CF #CF8F38 #38CF8F
tetradic
#8F38CF #CF4438 #78CF38 #38C3CF
square
#8F38CF #CF4438 #78CF38 #38C3CF
split-complementary
#8F38CF #C3CF38 #38CF44
monochromatic
#4D1B71 #6E27A3 #8F38CF #AB69DB #C79BE7

Accessibility & contrast

On white

5.78
#8F38CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8F38CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38CF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38CF#FFFFFF#000000##FFFFFF
##8F38CF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#845C81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f38cf;
/* rgb */ color: rgb(143, 56, 207);
/* oklch */ color: oklch(53.6% 0.221 306.5);
Tailwind
colors: {
  custom: {
    50: '#b577df',
    500: '#8f38cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f38cf;
$custom-light: #b577df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38cf",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 274.57,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.22092,
    "h": 306.5
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#8F38CF
secondary
#ACD390
accent
#E44488
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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