#942596#942596

#942596 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.193 H 327.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#942596
RGBrgb(148, 37, 150)
HSLhsl(299, 60%, 37%)
HSVhsv(299, 75%, 59%)
CMYKcmyk(1.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(37.52, 58.44, -37.54)
CIE-LCHlch(37.52, 69.45, 327.28°)
OKLaboklab(48.68% 0.1621 -0.1042)
OKLCHoklch(48.68% 0.193 327.3)
XYZxyz(18.3791, 9.8224, 29.7761)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942596 #279625
analogous
#5C2596 #942596 #962560
triadic
#942596 #969425 #259694
tetradic
#942596 #965C25 #279625 #256096
square
#942596 #965C25 #279625 #256096
split-complementary
#942596 #609625 #25965C
monochromatic
#330D34 #641965 #942596 #C431C7 #D55ED7

Accessibility & contrast

On white

7.08
#942596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#942596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942596
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942596#FFFFFF#000000##FFFFFF
##9425961.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F99
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#98385C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942596;
/* rgb */ color: rgb(148, 37, 150);
/* oklch */ color: oklch(48.7% 0.193 327.3);
Tailwind
colors: {
  custom: {
    50: '#b76cb5',
    500: '#942596',
    950: '#000000',
  },
}
SCSS
$custom: #942596;
$custom-light: #b76cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#942596",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 298.938,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.19267,
    "h": 327.3
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#942596
secondary
#5CBC5B
accent
#E44447
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942596

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

Preview Lab → · Contrast checker → · Palette generator →

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