#942BBF#942BBF

#942BBF is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.221 H 313.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#942BBF
RGBrgb(148, 43, 191)
HSLhsl(283, 63%, 46%)
HSVhsv(283, 77%, 75%)
CMYKcmyk(22.5%, 77.5%, 0%, 25.1%)
CIE-LABlab(40.87, 64.06, -56.62)
CIE-LCHlch(40.87, 85.50, 318.53°)
OKLaboklab(51.91% 0.1525 -0.1601)
OKLCHoklch(51.91% 0.221 313.6)
XYZxyz(22.4789, 11.7860, 50.3709)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BBF #56BF2B
analogous
#4A2BBF #942BBF #BF2BA0
triadic
#942BBF #BF942B #2BBF94
tetradic
#942BBF #BF4A2B #56BF2B #2BA0BF
square
#942BBF #BF4A2B #56BF2B #2BA0BF
split-complementary
#942BBF #A0BF2B #2BBF4A
monochromatic
#47155B #6D208D #942BBF #B050D8 #C782E3

Accessibility & contrast

On white

6.26
#942BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#942BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942BBF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BBF#FFFFFF#000000##FFFFFF
##942BBF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#904E75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #942bbf;
/* rgb */ color: rgb(148, 43, 191);
/* oklch */ color: oklch(51.9% 0.221 313.6);
Tailwind
colors: {
  custom: {
    50: '#b870d3',
    500: '#942bbf',
    950: '#000000',
  },
}
SCSS
$custom: #942bbf;
$custom-light: #b870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#942bbf",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 282.568,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.22109,
    "h": 313.6
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#942BBF
secondary
#92CC7A
accent
#E64271
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #942BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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