#8942D9#8942D9

#8942D9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.218 H 300.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8942D9
RGBrgb(137, 66, 217)
HSLhsl(268, 67%, 55%)
HSVhsv(268, 70%, 85%)
CMYKcmyk(36.9%, 69.6%, 0%, 14.9%)
CIE-LABlab(44.55, 58.44, -65.77)
CIE-LCHlch(44.55, 87.98, 311.62°)
OKLaboklab(54.79% 0.112 -0.1875)
OKLCHoklch(54.79% 0.218 300.8)
XYZxyz(24.7861, 14.2244, 67.0719)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942D9 #92D942
analogous
#4246D9 #8942D9 #D542D9
triadic
#8942D9 #D98942 #42D989
tetradic
#8942D9 #D94246 #92D942 #42D9D5
square
#8942D9 #D94246 #92D942 #42D9D5
split-complementary
#8942D9 #D9D542 #46D942
monochromatic
#4D1B86 #6B25B9 #8942D9 #A975E3 #C9A8ED

Accessibility & contrast

On white

5.46
#8942D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8942D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942D9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942D9#FFFFFF#000000##FFFFFF
##8942D91.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#776689
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8942d9;
/* rgb */ color: rgb(137, 66, 217);
/* oklch */ color: oklch(54.8% 0.218 300.8);
Tailwind
colors: {
  custom: {
    50: '#b17ce6',
    500: '#8942d9',
    950: '#000000',
  },
}
SCSS
$custom: #8942d9;
$custom-light: #b17ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8942d9",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 268.212,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.21838,
    "h": 300.8
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#8942D9
secondary
#BDDB9C
accent
#E93E99
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8942D9

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

Preview Lab → · Contrast checker → · Palette generator →

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