#8F2DBA#8F2DBA

#8F2DBA is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.213 H 313.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8F2DBA
RGBrgb(143, 45, 186)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 73%)
CMYKcmyk(23.1%, 75.8%, 0%, 27.1%)
CIE-LABlab(40.02, 61.42, -55.11)
CIE-LCHlch(40.02, 82.52, 318.10°)
OKLaboklab(51.04% 0.1452 -0.1558)
OKLCHoklch(51.04% 0.213 313)
XYZxyz(21.1274, 11.2622, 47.5057)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DBA #58BA2D
analogous
#482DBA #8F2DBA #BA2D9E
triadic
#8F2DBA #BA8F2D #2DBA8F
tetradic
#8F2DBA #BA482D #58BA2D #2D9EBA
square
#8F2DBA #BA482D #58BA2D #2D9EBA
split-complementary
#8F2DBA #9EBA2D #2DBA48
monochromatic
#431557 #692189 #8F2DBA #AC50D5 #C381E0

Accessibility & contrast

On white

6.46
#8F2DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8F2DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DBA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DBA#FFFFFF#000000##FFFFFF
##8F2DBA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#1C60B7
Tritanopia (blue-blind)
#8A4E72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2dba;
/* rgb */ color: rgb(143, 45, 186);
/* oklch */ color: oklch(51.0% 0.213 313.0);
Tailwind
colors: {
  custom: {
    50: '#b470d0',
    500: '#8f2dba',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dba;
$custom-light: #b470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dba",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 281.702,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.21299,
    "h": 313
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#8F2DBA
secondary
#92C979
accent
#E44475
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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