#942BC8#942BC8

#942BC8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.229 H 311.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#942BC8
RGBrgb(148, 43, 200)
HSLhsl(280, 65%, 48%)
HSVhsv(280, 79%, 78%)
CMYKcmyk(26%, 78.5%, 0%, 21.6%)
CIE-LABlab(41.52, 65.87, -60.82)
CIE-LCHlch(41.52, 89.66, 317.28°)
OKLaboklab(52.57% 0.1507 -0.1724)
OKLCHoklch(52.57% 0.229 311.2)
XYZxyz(23.4999, 12.1944, 55.7482)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BC8 #5FC82B
analogous
#452BC8 #942BC8 #C82BAE
triadic
#942BC8 #C8942B #2BC894
tetradic
#942BC8 #C8452B #5FC82B #2BAEC8
square
#942BC8 #C8452B #5FC82B #2BAEC8
split-complementary
#942BC8 #AEC82B #2BC845
monochromatic
#491563 #6F2096 #942BC8 #AF56DB #C688E5

Accessibility & contrast

On white

6.11
#942BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#942BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942BC8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BC8#FFFFFF#000000##FFFFFF
##942BC81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#8D527A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #942bc8;
/* rgb */ color: rgb(148, 43, 200);
/* oklch */ color: oklch(52.6% 0.229 311.2);
Tailwind
colors: {
  custom: {
    50: '#b971da',
    500: '#942bc8',
    950: '#000000',
  },
}
SCSS
$custom: #942bc8;
$custom-light: #b971da;
$custom-dark: #000000;
JSON
{
  "hex": "#942bc8",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 200
  },
  "hsl": {
    "h": 280.127,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.22902,
    "h": 311.2
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#942BC8
secondary
#9ACF80
accent
#E84078
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #942BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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