#942E93#942E93

#942E93 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.180 H 328.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#942E93
RGBrgb(148, 46, 147)
HSLhsl(301, 53%, 38%)
HSVhsv(301, 69%, 58%)
CMYKcmyk(0%, 68.9%, 0.7%, 42%)
CIE-LABlab(38.48, 54.72, -34.20)
CIE-LCHlch(38.48, 64.53, 328.00°)
OKLaboklab(49.31% 0.153 -0.0945)
OKLCHoklch(49.31% 0.18 328.3)
XYZxyz(18.4560, 10.3578, 28.6253)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E93 #2E942F
analogous
#622E94 #942E93 #942E60
triadic
#942E93 #93942E #2E9394
tetradic
#942E93 #94622E #2E942F #2E6094
square
#942E93 #94622E #2E942F #2E6094
split-complementary
#942E93 #60942E #2E9462
monochromatic
#371136 #651F65 #942E93 #C33DC1 #D16BD0

Accessibility & contrast

On white

6.84
#942E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#942E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942E93
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E93#FFFFFF#000000##FFFFFF
##942E931.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205296
Deuteranopia (green-blind)
#495F90
Tritanopia (blue-blind)
#993C5D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #942e93;
/* rgb */ color: rgb(148, 46, 147);
/* oklch */ color: oklch(49.3% 0.180 328.3);
Tailwind
colors: {
  custom: {
    50: '#b770b3',
    500: '#942e93',
    950: '#000000',
  },
}
SCSS
$custom: #942e93;
$custom-light: #b770b3;
$custom-dark: #000000;
JSON
{
  "hex": "#942e93",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 300.588,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.17987,
    "h": 328.3
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#942E93
secondary
#66B866
accent
#DC4D4C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942E93

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

Preview Lab → · Contrast checker → · Palette generator →

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