#8F39D2#8F39D2

#8F39D2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.223 H 305.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8F39D2
RGBrgb(143, 57, 210)
HSLhsl(274, 63%, 52%)
HSVhsv(274, 73%, 82%)
CMYKcmyk(31.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(43.39, 61.88, -63.61)
CIE-LCHlch(43.39, 88.75, 314.21°)
OKLaboklab(53.97% 0.13 -0.1809)
OKLCHoklch(53.97% 0.223 305.7)
XYZxyz(24.4211, 13.4192, 62.2639)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39D2 #7CD239
analogous
#4239D2 #8F39D2 #D239C9
triadic
#8F39D2 #D28F39 #39D28F
tetradic
#8F39D2 #D24239 #7CD239 #39C9D2
square
#8F39D2 #D24239 #7CD239 #39C9D2
split-complementary
#8F39D2 #C9D239 #39D242
monochromatic
#4E1B76 #6F26A8 #8F39D2 #AB6BDD #C79DE9

Accessibility & contrast

On white

5.70
#8F39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8F39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39D2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39D2#FFFFFF#000000##FFFFFF
##8F39D21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#835E83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f39d2;
/* rgb */ color: rgb(143, 57, 210);
/* oklch */ color: oklch(54.0% 0.223 305.7);
Tailwind
colors: {
  custom: {
    50: '#b577e1',
    500: '#8f39d2',
    950: '#000000',
  },
}
SCSS
$custom: #8f39d2;
$custom-light: #b577e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39d2",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 273.725,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.22275,
    "h": 305.7
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#8F39D2
secondary
#AFD592
accent
#E6428A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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