#942BBC#942BBC

#942BBC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.218 H 314.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#942BBC
RGBrgb(148, 43, 188)
HSLhsl(283, 63%, 45%)
HSVhsv(283, 77%, 74%)
CMYKcmyk(21.3%, 77.1%, 0%, 26.3%)
CIE-LABlab(40.66, 63.46, -55.20)
CIE-LCHlch(40.66, 84.11, 318.98°)
OKLaboklab(51.69% 0.153 -0.1559)
OKLCHoklch(51.69% 0.218 314.5)
XYZxyz(22.1522, 11.6553, 48.6500)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BBC #53BC2B
analogous
#4B2BBC #942BBC #BC2B9C
triadic
#942BBC #BC942B #2BBC94
tetradic
#942BBC #BC4B2B #53BC2B #2B9CBC
square
#942BBC #BC4B2B #53BC2B #2B9CBC
split-complementary
#942BBC #9CBC2B #2BBC4B
monochromatic
#461458 #6D208A #942BBC #B14ED6 #C780E2

Accessibility & contrast

On white

6.30
#942BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#942BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942BBC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BBC#FFFFFF#000000##FFFFFF
##942BBC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#904D73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #942bbc;
/* rgb */ color: rgb(148, 43, 188);
/* oklch */ color: oklch(51.7% 0.218 314.5);
Tailwind
colors: {
  custom: {
    50: '#b870d1',
    500: '#942bbc',
    950: '#000000',
  },
}
SCSS
$custom: #942bbc;
$custom-light: #b870d1;
$custom-dark: #000000;
JSON
{
  "hex": "#942bbc",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 283.448,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51691,
    "c": 0.21845,
    "h": 314.5
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#942BBC
secondary
#8FCB78
accent
#E6426F
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #942BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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