#942295#942295

#942295 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.195 H 327.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#942295
RGBrgb(148, 34, 149)
HSLhsl(299, 63%, 36%)
HSVhsv(299, 77%, 58%)
CMYKcmyk(0.7%, 77.2%, 0%, 41.6%)
CIE-LABlab(37.14, 59.21, -37.54)
CIE-LCHlch(37.14, 70.11, 327.62°)
OKLaboklab(48.39% 0.1648 -0.1042)
OKLCHoklch(48.39% 0.195 327.7)
XYZxyz(18.2093, 9.6112, 29.3240)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942295 #239522
analogous
#5A2295 #942295 #95225C
triadic
#942295 #959422 #229594
tetradic
#942295 #955A22 #239522 #225C95
square
#942295 #955A22 #239522 #225C95
split-complementary
#942295 #5C9522 #22955A
monochromatic
#310B31 #631763 #942295 #C52DC7 #D858D9

Accessibility & contrast

On white

7.19
#942295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#942295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942295
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942295#FFFFFF#000000##FFFFFF
##9422951.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E98
Deuteranopia (green-blind)
#425C92
Tritanopia (blue-blind)
#99355B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942295;
/* rgb */ color: rgb(148, 34, 149);
/* oklch */ color: oklch(48.4% 0.195 327.7);
Tailwind
colors: {
  custom: {
    50: '#b76bb5',
    500: '#942295',
    950: '#000000',
  },
}
SCSS
$custom: #942295;
$custom-light: #b76bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#942295",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 299.478,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.19493,
    "h": 327.7
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#942295
secondary
#57BD56
accent
#E64243
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942295

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

Preview Lab → · Contrast checker → · Palette generator →

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