#942EAC#942EAC

#942EAC is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.201 H 319.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#942EAC
RGBrgb(148, 46, 172)
HSLhsl(289, 58%, 43%)
HSVhsv(289, 73%, 67%)
CMYKcmyk(14%, 73.3%, 0%, 32.5%)
CIE-LABlab(39.96, 59.29, -46.87)
CIE-LCHlch(39.96, 75.58, 321.67°)
OKLaboklab(50.86% 0.1523 -0.1315)
OKLCHoklch(50.86% 0.201 319.2)
XYZxyz(20.6352, 11.2294, 40.1023)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942EAC #46AC2E
analogous
#552EAC #942EAC #AC2E85
triadic
#942EAC #AC942E #2EAC94
tetradic
#942EAC #AC552E #46AC2E #2E85AC
square
#942EAC #AC552E #46AC2E #2E85AC
split-complementary
#942EAC #85AC2E #2EAC55
monochromatic
#41144B #6A217C #942EAC #B549CE #C979DB

Accessibility & contrast

On white

6.47
#942EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#942EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942EAC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942EAC#FFFFFF#000000##FFFFFF
##942EAC1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3762A9
Tritanopia (blue-blind)
#94476B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942eac;
/* rgb */ color: rgb(148, 46, 172);
/* oklch */ color: oklch(50.9% 0.201 319.2);
Tailwind
colors: {
  custom: {
    50: '#b771c5',
    500: '#942eac',
    950: '#000000',
  },
}
SCSS
$custom: #942eac;
$custom-light: #b771c5;
$custom-dark: #000000;
JSON
{
  "hex": "#942eac",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 288.571,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.20123,
    "h": 319.2
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#942EAC
secondary
#82C372
accent
#E14764
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942EAC

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

Preview Lab → · Contrast checker → · Palette generator →

#942EAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva