#95228A#95228A

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

Color values

HEX#95228A
RGBrgb(149, 34, 138)
HSLhsl(306, 63%, 36%)
HSVhsv(306, 77%, 58%)
CMYKcmyk(0%, 77.2%, 7.4%, 41.6%)
CIE-LABlab(36.69, 57.64, -31.50)
CIE-LCHlch(36.69, 65.69, 331.34°)
OKLaboklab(47.9% 0.1658 -0.0866)
OKLCHoklch(47.9% 0.187 332.4)
XYZxyz(17.5540, 9.3701, 24.9239)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95228A #22952D
analogous
#662295 #95228A #952250
triadic
#95228A #8A9522 #228A95
tetradic
#95228A #956622 #22952D #225095
square
#95228A #956622 #22952D #225095
split-complementary
#95228A #509522 #229566
monochromatic
#310B2E #63175C #95228A #C72DB8 #D958CD

Accessibility & contrast

On white

7.31
#95228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#95228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95228A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95228A#FFFFFF#000000##FFFFFF
##95228A1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#9C2F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #95228a;
/* rgb */ color: rgb(149, 34, 138);
/* oklch */ color: oklch(47.9% 0.187 332.4);
Tailwind
colors: {
  custom: {
    50: '#b86bac',
    500: '#95228a',
    950: '#000000',
  },
}
SCSS
$custom: #95228a;
$custom-light: #b86bac;
$custom-dark: #000000;
JSON
{
  "hex": "#95228a",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 305.739,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.479,
    "c": 0.18706,
    "h": 332.4
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#95228A
secondary
#56BD60
accent
#E65242
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95228A

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

Preview Lab → · Contrast checker → · Palette generator →

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