#942BAC#942BAC

#942BAC is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.205 H 319.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#942BAC
RGBrgb(148, 43, 172)
HSLhsl(289, 60%, 42%)
HSVhsv(289, 75%, 67%)
CMYKcmyk(14%, 75%, 0%, 32.5%)
CIE-LABlab(39.59, 60.37, -47.48)
CIE-LCHlch(39.59, 76.80, 321.81°)
OKLaboklab(50.59% 0.1552 -0.1332)
OKLCHoklch(50.59% 0.205 319.3)
XYZxyz(20.5220, 11.0032, 40.0646)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BAC #43AC2B
analogous
#532BAC #942BAC #AC2B84
triadic
#942BAC #AC942B #2BAC94
tetradic
#942BAC #AC532B #43AC2B #2B84AC
square
#942BAC #AC532B #43AC2B #2B84AC
split-complementary
#942BAC #84AC2B #2BAC53
monochromatic
#40134A #6A1F7B #942BAC #B644D0 #C975DC

Accessibility & contrast

On white

6.56
#942BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#942BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942BAC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BAC#FFFFFF#000000##FFFFFF
##942BAC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#3561A9
Tritanopia (blue-blind)
#94456A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #942bac;
/* rgb */ color: rgb(148, 43, 172);
/* oklch */ color: oklch(50.6% 0.205 319.3);
Tailwind
colors: {
  custom: {
    50: '#b770c5',
    500: '#942bac',
    950: '#000000',
  },
}
SCSS
$custom: #942bac;
$custom-light: #b770c5;
$custom-dark: #000000;
JSON
{
  "hex": "#942bac",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 288.837,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.20454,
    "h": 319.3
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#942BAC
secondary
#7FC46F
accent
#E34562
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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