#942CBF#942CBF

#942CBF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.220 H 313.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#942CBF
RGBrgb(148, 44, 191)
HSLhsl(282, 63%, 46%)
HSVhsv(282, 77%, 75%)
CMYKcmyk(22.5%, 77%, 0%, 25.1%)
CIE-LABlab(40.99, 63.72, -56.43)
CIE-LCHlch(40.99, 85.12, 318.47°)
OKLaboklab(51.99% 0.1517 -0.1595)
OKLCHoklch(51.99% 0.22 313.6)
XYZxyz(22.5157, 11.8596, 50.3832)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942CBF #57BF2C
analogous
#4A2CBF #942CBF #BF2CA0
triadic
#942CBF #BF942C #2CBF94
tetradic
#942CBF #BF4A2C #57BF2C #2CA0BF
square
#942CBF #BF4A2C #57BF2C #2CA0BF
split-complementary
#942CBF #A0BF2C #2CBF4A
monochromatic
#47155C #6D218D #942CBF #B051D7 #C783E2

Accessibility & contrast

On white

6.23
#942CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#942CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942CBF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942CBF#FFFFFF#000000##FFFFFF
##942CBF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#8F4E75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #942cbf;
/* rgb */ color: rgb(148, 44, 191);
/* oklch */ color: oklch(52.0% 0.220 313.6);
Tailwind
colors: {
  custom: {
    50: '#b871d3',
    500: '#942cbf',
    950: '#000000',
  },
}
SCSS
$custom: #942cbf;
$custom-light: #b871d3;
$custom-dark: #000000;
JSON
{
  "hex": "#942cbf",
  "rgb": {
    "r": 148,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 282.449,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.2201,
    "h": 313.6
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#942CBF
secondary
#93CC7B
accent
#E64272
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #942CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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