#942E97#942E97

#942E97 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.183 H 326.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#942E97
RGBrgb(148, 46, 151)
HSLhsl(298, 53%, 39%)
HSVhsv(298, 70%, 59%)
CMYKcmyk(2%, 69.5%, 0%, 40.8%)
CIE-LABlab(38.70, 55.42, -36.27)
CIE-LCHlch(38.70, 66.24, 326.79°)
OKLaboklab(49.55% 0.1531 -0.1006)
OKLCHoklch(49.55% 0.183 326.7)
XYZxyz(18.7753, 10.4855, 30.3072)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E97 #31972E
analogous
#5F2E97 #942E97 #972E65
triadic
#942E97 #97942E #2E9794
tetradic
#942E97 #975F2E #31972E #2E6597
square
#942E97 #975F2E #31972E #2E6597
split-complementary
#942E97 #65972E #2E975F
monochromatic
#381139 #662068 #942E97 #C03EC4 #D06DD2

Accessibility & contrast

On white

6.78
#942E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#942E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E97
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E97#FFFFFF#000000##FFFFFF
##942E971.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#466094
Tritanopia (blue-blind)
#983E5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #942e97;
/* rgb */ color: rgb(148, 46, 151);
/* oklch */ color: oklch(49.5% 0.183 326.7);
Tailwind
colors: {
  custom: {
    50: '#b770b6',
    500: '#942e97',
    950: '#000000',
  },
}
SCSS
$custom: #942e97;
$custom-light: #b770b6;
$custom-dark: #000000;
JSON
{
  "hex": "#942e97",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 298.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49545,
    "c": 0.18319,
    "h": 326.7
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#942E97
secondary
#69BA67
accent
#DD4B4F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942E97

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

Preview Lab → · Contrast checker → · Palette generator →

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