#942BC9#942BC9

#942BC9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.6% C 0.230 H 310.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#942BC9
RGBrgb(148, 43, 201)
HSLhsl(280, 65%, 48%)
HSVhsv(280, 79%, 79%)
CMYKcmyk(26.4%, 78.6%, 0%, 21.2%)
CIE-LABlab(41.60, 66.08, -61.28)
CIE-LCHlch(41.60, 90.12, 317.16°)
OKLaboklab(52.64% 0.1505 -0.1738)
OKLCHoklch(52.64% 0.23 310.9)
XYZxyz(23.6172, 12.2413, 56.3657)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942BC9 #60C92B
analogous
#452BC9 #942BC9 #C92BAF
triadic
#942BC9 #C9942B #2BC994
tetradic
#942BC9 #C9452B #60C92B #2BAFC9
square
#942BC9 #C9452B #60C92B #2BAFC9
split-complementary
#942BC9 #AFC92B #2BC945
monochromatic
#4A1564 #6F2097 #942BC9 #AE56DB #C789E6

Accessibility & contrast

On white

6.09
#942BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#942BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942BC9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942BC9#FFFFFF#000000##FFFFFF
##942BC91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#8D537A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #942bc9;
/* rgb */ color: rgb(148, 43, 201);
/* oklch */ color: oklch(52.6% 0.230 310.9);
Tailwind
colors: {
  custom: {
    50: '#b971da',
    500: '#942bc9',
    950: '#000000',
  },
}
SCSS
$custom: #942bc9;
$custom-light: #b971da;
$custom-dark: #000000;
JSON
{
  "hex": "#942bc9",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 201
  },
  "hsl": {
    "h": 279.873,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.2299,
    "h": 310.9
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#942BC9
secondary
#9BCF80
accent
#E84078
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #942BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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