#942E95#942E95

#942E95 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.182 H 327.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#942E95
RGBrgb(148, 46, 149)
HSLhsl(299, 53%, 38%)
HSVhsv(299, 69%, 58%)
CMYKcmyk(0.7%, 69.1%, 0%, 41.6%)
CIE-LABlab(38.59, 55.07, -35.24)
CIE-LCHlch(38.59, 65.38, 327.39°)
OKLaboklab(49.43% 0.1531 -0.0976)
OKLCHoklch(49.43% 0.182 327.5)
XYZxyz(18.6143, 10.4211, 29.4590)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E95 #2F952E
analogous
#602E95 #942E95 #952E63
triadic
#942E95 #95942E #2E9594
tetradic
#942E95 #95602E #2F952E #2E6395
square
#942E95 #95602E #2F952E #2E6395
split-complementary
#942E95 #63952E #2E9560
monochromatic
#371137 #662066 #942E95 #C23DC3 #D16CD2

Accessibility & contrast

On white

6.81
#942E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#942E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E95
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E95#FFFFFF#000000##FFFFFF
##942E951.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#475F92
Tritanopia (blue-blind)
#983D5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #942e95;
/* rgb */ color: rgb(148, 46, 149);
/* oklch */ color: oklch(49.4% 0.182 327.5);
Tailwind
colors: {
  custom: {
    50: '#b770b4',
    500: '#942e95',
    950: '#000000',
  },
}
SCSS
$custom: #942e95;
$custom-light: #b770b4;
$custom-dark: #000000;
JSON
{
  "hex": "#942e95",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 299.417,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.18153,
    "h": 327.5
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#942E95
secondary
#67B966
accent
#DC4C4D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942E95

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

Preview Lab → · Contrast checker → · Palette generator →

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