#95238A#95238A

#95238A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.186 H 332.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#95238A
RGBrgb(149, 35, 138)
HSLhsl(306, 62%, 36%)
HSVhsv(306, 77%, 58%)
CMYKcmyk(0%, 76.5%, 7.4%, 41.6%)
CIE-LABlab(36.80, 57.33, -31.33)
CIE-LCHlch(36.80, 65.33, 331.34°)
OKLaboklab(47.98% 0.1649 -0.0861)
OKLCHoklch(47.98% 0.186 332.4)
XYZxyz(17.5830, 9.4281, 24.9336)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95238A #23952E
analogous
#672395 #95238A #952351
triadic
#95238A #8A9523 #238A95
tetradic
#95238A #956723 #23952E #235195
square
#95238A #956723 #23952E #235195
split-complementary
#95238A #519523 #239567
monochromatic
#320C2E #63175C #95238A #C72FB8 #D85ACC

Accessibility & contrast

On white

7.28
#95238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#95238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95238A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95238A#FFFFFF#000000##FFFFFF
##95238A1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#9C3055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95238a;
/* rgb */ color: rgb(149, 35, 138);
/* oklch */ color: oklch(48.0% 0.186 332.4);
Tailwind
colors: {
  custom: {
    50: '#b86bac',
    500: '#95238a',
    950: '#000000',
  },
}
SCSS
$custom: #95238a;
$custom-light: #b86bac;
$custom-dark: #000000;
JSON
{
  "hex": "#95238a",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 305.789,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.18603,
    "h": 332.4
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#95238A
secondary
#57BD61
accent
#E55243
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95238A

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

Preview Lab → · Contrast checker → · Palette generator →

#95238A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva