#942E88#942E88

#942E88 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.171 H 333.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#942E88
RGBrgb(148, 46, 136)
HSLhsl(307, 53%, 38%)
HSVhsv(307, 69%, 58%)
CMYKcmyk(0%, 68.9%, 8.1%, 42%)
CIE-LABlab(37.89, 52.87, -28.38)
CIE-LCHlch(37.89, 60.01, 331.77°)
OKLaboklab(48.7% 0.1523 -0.0778)
OKLCHoklch(48.7% 0.171 333)
XYZxyz(17.6337, 10.0289, 24.2948)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E88 #2E943A
analogous
#6D2E94 #942E88 #942E55
triadic
#942E88 #88942E #2E8894
tetradic
#942E88 #946D2E #2E943A #2E5594
square
#942E88 #946D2E #2E943A #2E5594
split-complementary
#942E88 #55942E #2E946D
monochromatic
#371132 #651F5D #942E88 #C33DB3 #D16BC5

Accessibility & contrast

On white

6.99
#942E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#942E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E88
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E88#FFFFFF#000000##FFFFFF
##942E881.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#9B3757
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942e88;
/* rgb */ color: rgb(148, 46, 136);
/* oklch */ color: oklch(48.7% 0.171 333.0);
Tailwind
colors: {
  custom: {
    50: '#b770ab',
    500: '#942e88',
    950: '#000000',
  },
}
SCSS
$custom: #942e88;
$custom-light: #b770ab;
$custom-dark: #000000;
JSON
{
  "hex": "#942e88",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 307.059,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.17101,
    "h": 333
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#942E88
secondary
#66B86F
accent
#DC5D4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942E88

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

Preview Lab → · Contrast checker → · Palette generator →

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