#942BB3#942BB3

#942BB3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.211 H 317.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#942BB3
RGBrgb(148, 43, 179)
HSLhsl(286, 61%, 44%)
HSVhsv(286, 76%, 70%)
CMYKcmyk(17.3%, 76%, 0%, 29.8%)
CIE-LABlab(40.05, 61.70, -50.89)
CIE-LCHlch(40.05, 79.98, 320.48°)
OKLaboklab(51.06% 0.1544 -0.1433)
OKLCHoklch(51.06% 0.211 317.1)
XYZxyz(21.2121, 11.2792, 43.6988)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BB3 #4AB32B
analogous
#502BB3 #942BB3 #B32B8E
triadic
#942BB3 #B3942B #2BB394
tetradic
#942BB3 #B3502B #4AB32B #2B8EB3
square
#942BB3 #B3502B #4AB32B #2B8EB3
split-complementary
#942BB3 #8EB32B #2BB350
monochromatic
#421350 #6B1F82 #942BB3 #B348D3 #C879DF

Accessibility & contrast

On white

6.45
#942BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#942BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942BB3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BB3#FFFFFF#000000##FFFFFF
##942BB31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2E61B0
Tritanopia (blue-blind)
#92496E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942bb3;
/* rgb */ color: rgb(148, 43, 179);
/* oklch */ color: oklch(51.1% 0.211 317.1);
Tailwind
colors: {
  custom: {
    50: '#b870ca',
    500: '#942bb3',
    950: '#000000',
  },
}
SCSS
$custom: #942bb3;
$custom-light: #b870ca;
$custom-dark: #000000;
JSON
{
  "hex": "#942bb3",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 286.324,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.2106,
    "h": 317.1
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#942BB3
secondary
#86C773
accent
#E44368
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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