#942AB0#942AB0

#942AB0 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.209 H 318.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#942AB0
RGBrgb(148, 42, 176)
HSLhsl(287, 61%, 43%)
HSVhsv(287, 76%, 69%)
CMYKcmyk(15.9%, 76.1%, 0%, 31%)
CIE-LABlab(39.73, 61.47, -49.63)
CIE-LCHlch(39.73, 79.01, 321.08°)
OKLaboklab(50.77% 0.1556 -0.1395)
OKLCHoklch(50.77% 0.209 318.1)
XYZxyz(20.8761, 11.0874, 42.1063)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942AB0 #46B02A
analogous
#512AB0 #942AB0 #B02A89
triadic
#942AB0 #B0942A #2AB094
tetradic
#942AB0 #B0512A #46B02A #2A89B0
square
#942AB0 #B0512A #46B02A #2A89B0
split-complementary
#942AB0 #89B02A #2AB051
monochromatic
#41124D #6A1E7F #942AB0 #B545D3 #C976DE

Accessibility & contrast

On white

6.53
#942AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#942AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942AB0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942AB0#FFFFFF#000000##FFFFFF
##942AB01.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#93476C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942ab0;
/* rgb */ color: rgb(148, 42, 176);
/* oklch */ color: oklch(50.8% 0.209 318.1);
Tailwind
colors: {
  custom: {
    50: '#b86fc8',
    500: '#942ab0',
    950: '#000000',
  },
}
SCSS
$custom: #942ab0;
$custom-light: #b86fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#942ab0",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 287.463,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.20903,
    "h": 318.1
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#942AB0
secondary
#82C670
accent
#E54365
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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