#8942D3#8942D3

#8942D3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.212 H 302.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8942D3
RGBrgb(137, 66, 211)
HSLhsl(269, 62%, 54%)
HSVhsv(269, 69%, 83%)
CMYKcmyk(35.1%, 68.7%, 0%, 17.3%)
CIE-LABlab(44.12, 57.00, -63.04)
CIE-LCHlch(44.12, 84.99, 312.12°)
OKLaboklab(54.34% 0.1129 -0.1795)
OKLCHoklch(54.34% 0.212 302.2)
XYZxyz(24.0198, 13.9179, 63.0364)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942D3 #8CD342
analogous
#4244D3 #8942D3 #D142D3
triadic
#8942D3 #D38942 #42D389
tetradic
#8942D3 #D34244 #8CD342 #42D3D1
square
#8942D3 #D34244 #8CD342 #42D3D1
split-complementary
#8942D3 #D3D142 #44D342
monochromatic
#4C1D7D #6B29AF #8942D3 #A874DF #C7A5EA

Accessibility & contrast

On white

5.55
#8942D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8942D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942D3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942D3#FFFFFF#000000##FFFFFF
##8942D31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#7A6486
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8942d3;
/* rgb */ color: rgb(137, 66, 211);
/* oklch */ color: oklch(54.3% 0.212 302.2);
Tailwind
colors: {
  custom: {
    50: '#b17ce1',
    500: '#8942d3',
    950: '#000000',
  },
}
SCSS
$custom: #8942d3;
$custom-light: #b17ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8942d3",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 269.379,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.21202,
    "h": 302.2
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#8942D3
secondary
#B9D79A
accent
#E54296
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942D3

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

Preview Lab → · Contrast checker → · Palette generator →

#8942D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva