#8F37DA#8F37DA

#8F37DA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.4% C 0.233 H 304.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8F37DA
RGBrgb(143, 55, 218)
HSLhsl(272, 69%, 54%)
HSVhsv(272, 75%, 85%)
CMYKcmyk(34.4%, 74.8%, 0%, 14.5%)
CIE-LABlab(43.70, 64.49, -67.69)
CIE-LCHlch(43.70, 93.49, 313.61°)
OKLaboklab(54.37% 0.1302 -0.1929)
OKLCHoklch(54.37% 0.233 304)
XYZxyz(25.3458, 13.6340, 67.6124)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37DA #82DA37
analogous
#3D37DA #8F37DA #DA37D3
triadic
#8F37DA #DA8F37 #37DA8F
tetradic
#8F37DA #DA3D37 #82DA37 #37D3DA
square
#8F37DA #DA3D37 #82DA37 #37D3DA
split-complementary
#8F37DA #D3DA37 #37DA3D
monochromatic
#4F187F #7021B3 #8F37DA #AC6BE4 #C99EED

Accessibility & contrast

On white

5.63
#8F37DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8F37DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37DA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37DA#FFFFFF#000000##FFFFFF
##8F37DA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#806087
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f37da;
/* rgb */ color: rgb(143, 55, 218);
/* oklch */ color: oklch(54.4% 0.233 304.0);
Tailwind
colors: {
  custom: {
    50: '#b677e6',
    500: '#8f37da',
    950: '#000000',
  },
}
SCSS
$custom: #8f37da;
$custom-light: #b677e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37da",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 272.393,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.23269,
    "h": 304
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#8F37DA
secondary
#B4D993
accent
#EC3C8D
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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