#942DB0#942DB0

#942DB0 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.206 H 318.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#942DB0
RGBrgb(148, 45, 176)
HSLhsl(287, 59%, 43%)
HSVhsv(287, 74%, 69%)
CMYKcmyk(15.9%, 74.4%, 0%, 31%)
CIE-LABlab(40.09, 60.42, -49.04)
CIE-LCHlch(40.09, 77.81, 320.94°)
OKLaboklab(51.03% 0.1529 -0.1378)
OKLCHoklch(51.03% 0.206 318)
XYZxyz(20.9865, 11.3082, 42.1431)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942DB0 #49B02D
analogous
#532DB0 #942DB0 #B02D8A
triadic
#942DB0 #B0942D #2DB094
tetradic
#942DB0 #B0532D #49B02D #2D8AB0
square
#942DB0 #B0532D #49B02D #2D8AB0
split-complementary
#942DB0 #8AB02D #2DB053
monochromatic
#42144F #6B217F #942DB0 #B44AD1 #C87ADD

Accessibility & contrast

On white

6.44
#942DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #942DB0
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942DB0#FFFFFF#000000##FFFFFF
##942DB01.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3262AD
Tritanopia (blue-blind)
#93486D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #942db0;
/* rgb */ color: rgb(148, 45, 176);
/* oklch */ color: oklch(51.0% 0.206 318.0);
Tailwind
colors: {
  custom: {
    50: '#b771c8',
    500: '#942db0',
    950: '#000000',
  },
}
SCSS
$custom: #942db0;
$custom-light: #b771c8;
$custom-dark: #000000;
JSON
{
  "hex": "#942db0",
  "rgb": {
    "r": 148,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 287.176,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.20585,
    "h": 318
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#942DB0
secondary
#85C573
accent
#E24567
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #942DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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