#8942CF#8942CF

#8942CF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.208 H 303.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8942CF
RGBrgb(137, 66, 207)
HSLhsl(270, 59%, 54%)
HSVhsv(270, 68%, 81%)
CMYKcmyk(33.8%, 68.1%, 0%, 18.8%)
CIE-LABlab(43.83, 56.05, -61.21)
CIE-LCHlch(43.83, 82.99, 312.48°)
OKLaboklab(54.05% 0.1135 -0.174)
OKLCHoklch(54.05% 0.208 303.1)
XYZxyz(23.5246, 13.7198, 60.4282)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942CF #88CF42
analogous
#4242CF #8942CF #CF42CE
triadic
#8942CF #CF8942 #42CF89
tetradic
#8942CF #CF4242 #88CF42 #42CECF
square
#8942CF #CF4242 #88CF42 #42CECF
split-complementary
#8942CF #CECF42 #42CF42
monochromatic
#4C1F78 #6A2BA9 #8942CF #A773DB #C6A4E8

Accessibility & contrast

On white

5.61
#8942CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8942CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942CF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942CF#FFFFFF#000000##FFFFFF
##8942CF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#7B6283
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8942cf;
/* rgb */ color: rgb(137, 66, 207);
/* oklch */ color: oklch(54.0% 0.208 303.1);
Tailwind
colors: {
  custom: {
    50: '#b17bdf',
    500: '#8942cf',
    950: '#000000',
  },
}
SCSS
$custom: #8942cf;
$custom-light: #b17bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8942cf",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 270.213,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.20777,
    "h": 303.1
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#8942CF
secondary
#B6D598
accent
#E34593
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942CF

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

Preview Lab → · Contrast checker → · Palette generator →

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