#942398#942398

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

Color values

HEX#942398
RGBrgb(148, 35, 152)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 77%, 60%)
CMYKcmyk(2.6%, 77%, 0%, 40.4%)
CIE-LABlab(37.42, 59.41, -38.92)
CIE-LCHlch(37.42, 71.02, 326.77°)
OKLaboklab(48.65% 0.1638 -0.1082)
OKLCHoklch(48.65% 0.196 326.6)
XYZxyz(18.4809, 9.7663, 30.6114)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942398 #279823
analogous
#5A2398 #942398 #982362
triadic
#942398 #989423 #239894
tetradic
#942398 #985A23 #279823 #236298
square
#942398 #985A23 #279823 #236298
split-complementary
#942398 #629823 #23985A
monochromatic
#330C35 #641866 #942398 #C42ECA #D55CD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##942398#FFFFFF#000000##FFFFFF
##9423981.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)
#004F9B
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#98375D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942398;
/* rgb */ color: rgb(148, 35, 152);
/* oklch */ color: oklch(48.6% 0.196 326.6);
Tailwind
colors: {
  custom: {
    50: '#b76bb7',
    500: '#942398',
    950: '#000000',
  },
}
SCSS
$custom: #942398;
$custom-light: #b76bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#942398",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 297.949,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.1963,
    "h": 326.6
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#942398
secondary
#5CBE59
accent
#E64248
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942398

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

Preview Lab → · Contrast checker → · Palette generator →

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