#95228F#95228F

#95228F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 330.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#95228F
RGBrgb(149, 34, 143)
HSLhsl(303, 63%, 36%)
HSVhsv(303, 77%, 58%)
CMYKcmyk(0%, 77.2%, 4%, 41.6%)
CIE-LABlab(36.96, 58.44, -34.14)
CIE-LCHlch(36.96, 67.68, 329.71°)
OKLaboklab(48.19% 0.1659 -0.0943)
OKLCHoklch(48.19% 0.191 330.4)
XYZxyz(17.9243, 9.5182, 26.8744)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95228F #229528
analogous
#612295 #95228F #952255
triadic
#95228F #8F9522 #228F95
tetradic
#95228F #956122 #229528 #225595
square
#95228F #956122 #229528 #225595
split-complementary
#95228F #559522 #229561
monochromatic
#310B2F #63175F #95228F #C72DBF #D958D2

Accessibility & contrast

On white

7.23
#95228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#95228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95228F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95228F#FFFFFF#000000##FFFFFF
##95228F1.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)
#134D92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#9B3257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95228f;
/* rgb */ color: rgb(149, 34, 143);
/* oklch */ color: oklch(48.2% 0.191 330.4);
Tailwind
colors: {
  custom: {
    50: '#b86bb0',
    500: '#95228f',
    950: '#000000',
  },
}
SCSS
$custom: #95228f;
$custom-light: #b86bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#95228f",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 303.13,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.19081,
    "h": 330.4
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#95228F
secondary
#56BD5B
accent
#E64A42
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #95228F

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

Preview Lab → · Contrast checker → · Palette generator →

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