#8942C9#8942C9

#8942C9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.201 H 304.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8942C9
RGBrgb(137, 66, 201)
HSLhsl(272, 56%, 52%)
HSVhsv(272, 67%, 79%)
CMYKcmyk(31.8%, 67.2%, 0%, 21.2%)
CIE-LABlab(43.41, 54.63, -58.42)
CIE-LCHlch(43.41, 79.98, 313.08°)
OKLaboklab(53.61% 0.1142 -0.1659)
OKLCHoklch(53.61% 0.201 304.5)
XYZxyz(22.8050, 13.4319, 56.6382)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942C9 #82C942
analogous
#4642C9 #8942C9 #C942C5
triadic
#8942C9 #C98942 #42C989
tetradic
#8942C9 #C94642 #82C942 #42C5C9
square
#8942C9 #C94642 #82C942 #42C5C9
split-complementary
#8942C9 #C5C942 #42C946
monochromatic
#4A2070 #6A2EA0 #8942C9 #A772D7 #C4A1E4

Accessibility & contrast

On white

5.70
#8942C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8942C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942C9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942C9#FFFFFF#000000##FFFFFF
##8942C91.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#1167C6
Tritanopia (blue-blind)
#7D6080
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8942c9;
/* rgb */ color: rgb(137, 66, 201);
/* oklch */ color: oklch(53.6% 0.201 304.5);
Tailwind
colors: {
  custom: {
    50: '#b07bda',
    500: '#8942c9',
    950: '#000000',
  },
}
SCSS
$custom: #8942c9;
$custom-light: #b07bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8942c9",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 271.556,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.20138,
    "h": 304.5
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#8942C9
secondary
#B2D196
accent
#DF4990
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942C9

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

Preview Lab → · Contrast checker → · Palette generator →

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