#942E85#942E85

#942E85 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.169 H 334.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#942E85
RGBrgb(148, 46, 133)
HSLhsl(309, 53%, 38%)
HSVhsv(309, 69%, 58%)
CMYKcmyk(0%, 68.9%, 10.1%, 42%)
CIE-LABlab(37.74, 52.38, -26.77)
CIE-LCHlch(37.74, 58.83, 332.93°)
OKLaboklab(48.54% 0.152 -0.0731)
OKLCHoklch(48.54% 0.169 334.3)
XYZxyz(17.4235, 9.9448, 23.1876)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E85 #2E943D
analogous
#702E94 #942E85 #942E52
triadic
#942E85 #85942E #2E8594
tetradic
#942E85 #94702E #2E943D #2E5294
square
#942E85 #94702E #2E943D #2E5294
split-complementary
#942E85 #52942E #2E9470
monochromatic
#371131 #651F5B #942E85 #C33DAF #D16BC2

Accessibility & contrast

On white

7.03
#942E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#942E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E85
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E85#FFFFFF#000000##FFFFFF
##942E851.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F88
Deuteranopia (green-blind)
#4F5E82
Tritanopia (blue-blind)
#9B3655
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942e85;
/* rgb */ color: rgb(148, 46, 133);
/* oklch */ color: oklch(48.5% 0.169 334.3);
Tailwind
colors: {
  custom: {
    50: '#b76fa9',
    500: '#942e85',
    950: '#000000',
  },
}
SCSS
$custom: #942e85;
$custom-light: #b76fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#942e85",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 308.824,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.16869,
    "h": 334.3
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#942E85
secondary
#66B872
accent
#DC614C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942E85

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

Preview Lab → · Contrast checker → · Palette generator →

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