#95238D#95238D

#95238D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 331.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#95238D
RGBrgb(149, 35, 141)
HSLhsl(304, 62%, 36%)
HSVhsv(304, 77%, 58%)
CMYKcmyk(0%, 76.5%, 5.4%, 41.6%)
CIE-LABlab(36.96, 57.81, -32.92)
CIE-LCHlch(36.96, 66.52, 330.34°)
OKLaboklab(48.15% 0.165 -0.0907)
OKLCHoklch(48.15% 0.188 331.2)
XYZxyz(17.8032, 9.5162, 26.0933)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95238D #23952B
analogous
#642395 #95238D #952354
triadic
#95238D #8D9523 #238D95
tetradic
#95238D #956423 #23952B #235495
square
#95238D #956423 #23952B #235495
split-complementary
#95238D #549523 #239564
monochromatic
#320C2F #63175E #95238D #C72FBC #D85ACF

Accessibility & contrast

On white

7.23
#95238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#95238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95238D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95238D#FFFFFF#000000##FFFFFF
##95238D1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#485C8A
Tritanopia (blue-blind)
#9B3256
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95238d;
/* rgb */ color: rgb(149, 35, 141);
/* oklch */ color: oklch(48.1% 0.188 331.2);
Tailwind
colors: {
  custom: {
    50: '#b86baf',
    500: '#95238d',
    950: '#000000',
  },
}
SCSS
$custom: #95238d;
$custom-light: #b86baf;
$custom-dark: #000000;
JSON
{
  "hex": "#95238d",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 304.211,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48149,
    "c": 0.18828,
    "h": 331.2
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#95238D
secondary
#57BD5E
accent
#E54E43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95238D

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

Preview Lab → · Contrast checker → · Palette generator →

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