#942790#942790

#942790 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.186 H 329.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#942790
RGBrgb(148, 39, 144)
HSLhsl(302, 58%, 37%)
HSVhsv(302, 74%, 58%)
CMYKcmyk(0%, 73.6%, 2.7%, 42%)
CIE-LABlab(37.41, 56.76, -34.05)
CIE-LCHlch(37.41, 66.19, 329.04°)
OKLaboklab(48.49% 0.1602 -0.0941)
OKLCHoklch(48.49% 0.186 329.6)
XYZxyz(17.9722, 9.7619, 27.3178)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942790 #27942B
analogous
#622794 #942790 #94275A
triadic
#942790 #909427 #279094
tetradic
#942790 #946227 #27942B #275A94
square
#942790 #946227 #27942B #275A94
split-complementary
#942790 #5A9427 #279462
monochromatic
#330D32 #641A61 #942790 #C434BF #D560D1

Accessibility & contrast

On white

7.11
#942790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#942790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942790
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942790#FFFFFF#000000##FFFFFF
##9427901.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F93
Deuteranopia (green-blind)
#475D8D
Tritanopia (blue-blind)
#993659
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942790;
/* rgb */ color: rgb(148, 39, 144);
/* oklch */ color: oklch(48.5% 0.186 329.6);
Tailwind
colors: {
  custom: {
    50: '#b76db1',
    500: '#942790',
    950: '#000000',
  },
}
SCSS
$custom: #942790;
$custom-light: #b76db1;
$custom-dark: #000000;
JSON
{
  "hex": "#942790",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 302.202,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.18578,
    "h": 329.6
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#942790
secondary
#5CBB60
accent
#E24C46
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #942790

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

Preview Lab → · Contrast checker → · Palette generator →

#942790 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva