#942E92#942E92

#942E92 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.179 H 328.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#942E92
RGBrgb(148, 46, 146)
HSLhsl(301, 53%, 38%)
HSVhsv(301, 69%, 58%)
CMYKcmyk(0%, 68.9%, 1.4%, 42%)
CIE-LABlab(38.42, 54.55, -33.67)
CIE-LCHlch(38.42, 64.11, 328.31°)
OKLaboklab(49.26% 0.153 -0.093)
OKLCHoklch(49.26% 0.179 328.7)
XYZxyz(18.3779, 10.3265, 28.2138)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E92 #2E9430
analogous
#632E94 #942E92 #942E5F
triadic
#942E92 #92942E #2E9294
tetradic
#942E92 #94632E #2E9430 #2E5F94
square
#942E92 #94632E #2E9430 #2E5F94
split-complementary
#942E92 #5F942E #2E9463
monochromatic
#371136 #651F64 #942E92 #C33DC0 #D16BCF

Accessibility & contrast

On white

6.85
#942E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #942E92
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E92#FFFFFF#000000##FFFFFF
##942E921.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#495F8F
Tritanopia (blue-blind)
#993C5C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #942e92;
/* rgb */ color: rgb(148, 46, 146);
/* oklch */ color: oklch(49.3% 0.179 328.7);
Tailwind
colors: {
  custom: {
    50: '#b770b2',
    500: '#942e92',
    950: '#000000',
  },
}
SCSS
$custom: #942e92;
$custom-light: #b770b2;
$custom-dark: #000000;
JSON
{
  "hex": "#942e92",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 301.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.17905,
    "h": 328.7
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#942E92
secondary
#66B867
accent
#DC4F4C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #942E92

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

Preview Lab → · Contrast checker → · Palette generator →

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