#95228E#95228E

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

Color values

HEX#95228E
RGBrgb(149, 34, 142)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 77%, 58%)
CMYKcmyk(0%, 77.2%, 4.7%, 41.6%)
CIE-LABlab(36.91, 58.28, -33.61)
CIE-LCHlch(36.91, 67.28, 330.02°)
OKLaboklab(48.13% 0.1659 -0.0927)
OKLCHoklch(48.13% 0.19 330.8)
XYZxyz(17.8489, 9.4880, 26.4772)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95228E #229529
analogous
#622295 #95228E #952254
triadic
#95228E #8E9522 #228E95
tetradic
#95228E #956222 #229529 #225495
square
#95228E #956222 #229529 #225495
split-complementary
#95228E #549522 #229562
monochromatic
#310B2F #63175F #95228E #C72DBD #D958D1

Accessibility & contrast

On white

7.25
#95228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #95228E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95228E#FFFFFF#000000##FFFFFF
##95228E1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#9B3157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95228e;
/* rgb */ color: rgb(149, 34, 142);
/* oklch */ color: oklch(48.1% 0.190 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86baf',
    500: '#95228e',
    950: '#000000',
  },
}
SCSS
$custom: #95228e;
$custom-light: #b86baf;
$custom-dark: #000000;
JSON
{
  "hex": "#95228e",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 303.652,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.19005,
    "h": 330.8
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#95228E
secondary
#56BD5C
accent
#E64C42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95228E

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

Preview Lab → · Contrast checker → · Palette generator →

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