#8B2DAF#8B2DAF

#8B2DAF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.7% C 0.202 H 314.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8B2DAF
RGBrgb(139, 45, 175)
HSLhsl(283, 59%, 43%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(20.6%, 74.3%, 0%, 31.4%)
CIE-LABlab(38.66, 58.40, -50.83)
CIE-LCHlch(38.66, 77.42, 318.97°)
OKLaboklab(49.71% 0.1418 -0.1434)
OKLCHoklch(49.71% 0.202 314.7)
XYZxyz(19.3224, 10.4616, 41.5506)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2DAF #51AF2D
analogous
#4A2DAF #8B2DAF #AF2D92
triadic
#8B2DAF #AF8B2D #2DAF8B
tetradic
#8B2DAF #AF4A2D #51AF2D #2D92AF
square
#8B2DAF #AF4A2D #51AF2D #2D92AF
split-complementary
#8B2DAF #92AF2D #2DAF4A
monochromatic
#3E144E #64207E #8B2DAF #AB49D0 #C17ADD

Accessibility & contrast

On white

6.79
#8B2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8B2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2DAF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2DAF#FFFFFF#000000##FFFFFF
##8B2DAF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#88496C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2daf;
/* rgb */ color: rgb(139, 45, 175);
/* oklch */ color: oklch(49.7% 0.202 314.7);
Tailwind
colors: {
  custom: {
    50: '#b170c8',
    500: '#8b2daf',
    950: '#000000',
  },
}
SCSS
$custom: #8b2daf;
$custom-light: #b170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2daf",
  "rgb": {
    "r": 139,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 283.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.20163,
    "h": 314.7
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#8B2DAF
secondary
#8AC573
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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