#942BAE#942BAE

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

Color values

HEX#942BAE
RGBrgb(148, 43, 174)
HSLhsl(288, 60%, 43%)
HSVhsv(288, 75%, 68%)
CMYKcmyk(14.9%, 75.3%, 0%, 31.8%)
CIE-LABlab(39.72, 60.75, -48.46)
CIE-LCHlch(39.72, 77.71, 321.42°)
OKLaboklab(50.72% 0.155 -0.1361)
OKLCHoklch(50.72% 0.206 318.7)
XYZxyz(20.7156, 11.0806, 41.0838)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BAE #45AE2B
analogous
#532BAE #942BAE #AE2B86
triadic
#942BAE #AE942B #2BAE94
tetradic
#942BAE #AE532B #45AE2B #2B86AE
square
#942BAE #AE532B #45AE2B #2B86AE
split-complementary
#942BAE #86AE2B #2BAE53
monochromatic
#41134C #6A1F7D #942BAE #B545D1 #C976DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##942BAE#FFFFFF#000000##FFFFFF
##942BAE1.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)
#0057B2
Deuteranopia (green-blind)
#3361AB
Tritanopia (blue-blind)
#94466B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942bae;
/* rgb */ color: rgb(148, 43, 174);
/* oklch */ color: oklch(50.7% 0.206 318.7);
Tailwind
colors: {
  custom: {
    50: '#b770c7',
    500: '#942bae',
    950: '#000000',
  },
}
SCSS
$custom: #942bae;
$custom-light: #b770c7;
$custom-dark: #000000;
JSON
{
  "hex": "#942bae",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 288.092,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.20626,
    "h": 318.7
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#942BAE
secondary
#81C570
accent
#E44464
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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