#95228C#95228C

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

Color values

HEX#95228C
RGBrgb(149, 34, 140)
HSLhsl(305, 63%, 36%)
HSVhsv(305, 77%, 58%)
CMYKcmyk(0%, 77.2%, 6%, 41.6%)
CIE-LABlab(36.80, 57.96, -32.56)
CIE-LCHlch(36.80, 66.48, 330.67°)
OKLaboklab(48.01% 0.1659 -0.0897)
OKLCHoklch(48.01% 0.189 331.6)
XYZxyz(17.7001, 9.4285, 25.6935)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95228C #22952B
analogous
#642295 #95228C #952252
triadic
#95228C #8C9522 #228C95
tetradic
#95228C #956422 #22952B #225295
square
#95228C #956422 #22952B #225295
split-complementary
#95228C #529522 #229564
monochromatic
#310B2E #63175D #95228C #C72DBB #D958CF

Accessibility & contrast

On white

7.28
#95228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #95228C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95228C#FFFFFF#000000##FFFFFF
##95228C1.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)
#184C8F
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#9B3056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95228c;
/* rgb */ color: rgb(149, 34, 140);
/* oklch */ color: oklch(48.0% 0.189 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86bae',
    500: '#95228c',
    950: '#000000',
  },
}
SCSS
$custom: #95228c;
$custom-light: #b86bae;
$custom-dark: #000000;
JSON
{
  "hex": "#95228c",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 304.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.18855,
    "h": 331.6
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#95228C
secondary
#56BD5E
accent
#E64F42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95228C

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

Preview Lab → · Contrast checker → · Palette generator →

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