#95228D#95228D

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

Color values

HEX#95228D
RGBrgb(149, 34, 141)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 77%, 58%)
CMYKcmyk(0%, 77.2%, 5.4%, 41.6%)
CIE-LABlab(36.85, 58.12, -33.09)
CIE-LCHlch(36.85, 66.88, 330.34°)
OKLaboklab(48.07% 0.1659 -0.0912)
OKLCHoklch(48.07% 0.189 331.2)
XYZxyz(17.7742, 9.4582, 26.0836)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95228D #22952A
analogous
#632295 #95228D #952253
triadic
#95228D #8D9522 #228D95
tetradic
#95228D #956322 #22952A #225395
square
#95228D #956322 #22952A #225395
split-complementary
#95228D #539522 #229563
monochromatic
#310B2F #63175E #95228D #C72DBC #D958D0

Accessibility & contrast

On white

7.26
#95228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#95228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95228D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95228D#FFFFFF#000000##FFFFFF
##95228D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#9B3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95228d;
/* rgb */ color: rgb(149, 34, 141);
/* oklch */ color: oklch(48.1% 0.189 331.2);
Tailwind
colors: {
  custom: {
    50: '#b86baf',
    500: '#95228d',
    950: '#000000',
  },
}
SCSS
$custom: #95228d;
$custom-light: #b86baf;
$custom-dark: #000000;
JSON
{
  "hex": "#95228d",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 304.174,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48071,
    "c": 0.1893,
    "h": 331.2
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#95228D
secondary
#56BD5D
accent
#E64D42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95228D

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

Preview Lab → · Contrast checker → · Palette generator →

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