#942598#942598

#942598 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 326.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#942598
RGBrgb(148, 37, 152)
HSLhsl(298, 61%, 37%)
HSVhsv(298, 76%, 60%)
CMYKcmyk(2.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(37.64, 58.78, -38.57)
CIE-LCHlch(37.64, 70.30, 326.73°)
OKLaboklab(48.8% 0.162 -0.1072)
OKLCHoklch(48.8% 0.194 326.5)
XYZxyz(18.5415, 9.8873, 30.6315)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942598 #299825
analogous
#5B2598 #942598 #982563
triadic
#942598 #989425 #259894
tetradic
#942598 #985B25 #299825 #256398
square
#942598 #985B25 #299825 #256398
split-complementary
#942598 #639825 #25985B
monochromatic
#340D36 #641967 #942598 #C431C9 #D45FD8

Accessibility & contrast

On white

7.05
#942598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#942598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942598
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942598#FFFFFF#000000##FFFFFF
##9425981.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509B
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#98395D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942598;
/* rgb */ color: rgb(148, 37, 152);
/* oklch */ color: oklch(48.8% 0.194 326.5);
Tailwind
colors: {
  custom: {
    50: '#b76cb7',
    500: '#942598',
    950: '#000000',
  },
}
SCSS
$custom: #942598;
$custom-light: #b76cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#942598",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 297.913,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.19427,
    "h": 326.5
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#942598
secondary
#5FBD5C
accent
#E44449
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942598

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

Preview Lab → · Contrast checker → · Palette generator →

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