#8942CA#8942CA

#8942CA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.202 H 304.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8942CA
RGBrgb(137, 66, 202)
HSLhsl(271, 56%, 53%)
HSVhsv(271, 67%, 79%)
CMYKcmyk(32.2%, 67.3%, 0%, 20.8%)
CIE-LABlab(43.48, 54.87, -58.89)
CIE-LCHlch(43.48, 80.49, 312.98°)
OKLaboklab(53.68% 0.1141 -0.1672)
OKLCHoklch(53.68% 0.202 304.3)
XYZxyz(22.9230, 13.4791, 57.2598)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942CA #83CA42
analogous
#4542CA #8942CA #CA42C7
triadic
#8942CA #CA8942 #42CA89
tetradic
#8942CA #CA4542 #83CA42 #42C7CA
square
#8942CA #CA4542 #83CA42 #42C7CA
split-complementary
#8942CA #C7CA42 #42CA45
monochromatic
#4B2072 #6A2DA2 #8942CA #A772D7 #C5A2E5

Accessibility & contrast

On white

5.68
#8942CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8942CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942CA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942CA#FFFFFF#000000##FFFFFF
##8942CA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0D67C7
Tritanopia (blue-blind)
#7D6181
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8942ca;
/* rgb */ color: rgb(137, 66, 202);
/* oklch */ color: oklch(53.7% 0.202 304.3);
Tailwind
colors: {
  custom: {
    50: '#b07bdb',
    500: '#8942ca',
    950: '#000000',
  },
}
SCSS
$custom: #8942ca;
$custom-light: #b07bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8942ca",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 271.324,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.20245,
    "h": 304.3
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#8942CA
secondary
#B3D196
accent
#DF4891
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942CA

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

Preview Lab → · Contrast checker → · Palette generator →

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