#942BAA#942BAA

#942BAA is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.203 H 320.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#942BAA
RGBrgb(148, 43, 170)
HSLhsl(290, 60%, 42%)
HSVhsv(290, 75%, 67%)
CMYKcmyk(12.9%, 74.7%, 0%, 33.3%)
CIE-LABlab(39.46, 59.99, -46.49)
CIE-LCHlch(39.46, 75.90, 322.22°)
OKLaboklab(50.45% 0.1554 -0.1304)
OKLCHoklch(50.45% 0.203 320)
XYZxyz(20.3314, 10.9270, 39.0606)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BAA #41AA2B
analogous
#552BAA #942BAA #AA2B81
triadic
#942BAA #AA942B #2BAA94
tetradic
#942BAA #AA552B #41AA2B #2B81AA
square
#942BAA #AA552B #41AA2B #2B81AA
split-complementary
#942BAA #81AA2B #2BAA55
monochromatic
#3F1248 #691F79 #942BAA #B743CF #CA74DC

Accessibility & contrast

On white

6.59
#942BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#942BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942BAA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BAA#FFFFFF#000000##FFFFFF
##942BAA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#3760A7
Tritanopia (blue-blind)
#944469
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942baa;
/* rgb */ color: rgb(148, 43, 170);
/* oklch */ color: oklch(50.5% 0.203 320.0);
Tailwind
colors: {
  custom: {
    50: '#b770c4',
    500: '#942baa',
    950: '#000000',
  },
}
SCSS
$custom: #942baa;
$custom-light: #b770c4;
$custom-dark: #000000;
JSON
{
  "hex": "#942baa",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 289.606,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.20281,
    "h": 320
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#942BAA
secondary
#7CC36E
accent
#E34560
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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