#942E91#942E91

#942E91 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 329.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#942E91
RGBrgb(148, 46, 145)
HSLhsl(302, 53%, 38%)
HSVhsv(302, 69%, 58%)
CMYKcmyk(0%, 68.9%, 2%, 42%)
CIE-LABlab(38.37, 54.38, -33.15)
CIE-LCHlch(38.37, 63.69, 328.63°)
OKLaboklab(49.2% 0.1529 -0.0915)
OKLCHoklch(49.2% 0.178 329.1)
XYZxyz(18.3004, 10.2955, 27.8059)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E91 #2E9431
analogous
#642E94 #942E91 #942E5E
triadic
#942E91 #91942E #2E9194
tetradic
#942E91 #94642E #2E9431 #2E5E94
square
#942E91 #94642E #2E9431 #2E5E94
split-complementary
#942E91 #5E942E #2E9464
monochromatic
#371136 #651F63 #942E91 #C33DBF #D16BCE

Accessibility & contrast

On white

6.87
#942E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#942E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E91
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E91#FFFFFF#000000##FFFFFF
##942E911.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#993B5C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #942e91;
/* rgb */ color: rgb(148, 46, 145);
/* oklch */ color: oklch(49.2% 0.178 329.1);
Tailwind
colors: {
  custom: {
    50: '#b770b1',
    500: '#942e91',
    950: '#000000',
  },
}
SCSS
$custom: #942e91;
$custom-light: #b770b1;
$custom-dark: #000000;
JSON
{
  "hex": "#942e91",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 301.765,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.17823,
    "h": 329.1
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#942E91
secondary
#66B868
accent
#DC504C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942E91

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

Preview Lab → · Contrast checker → · Palette generator →

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