#95248C#95248C

#95248C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.186 H 331.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#95248C
RGBrgb(149, 36, 140)
HSLhsl(305, 61%, 36%)
HSVhsv(305, 76%, 58%)
CMYKcmyk(0%, 75.8%, 6%, 41.6%)
CIE-LABlab(37.02, 57.33, -32.22)
CIE-LCHlch(37.02, 65.76, 330.67°)
OKLaboklab(48.17% 0.164 -0.0887)
OKLCHoklch(48.17% 0.186 331.6)
XYZxyz(17.7589, 9.5462, 25.7131)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95248C #24952D
analogous
#662495 #95248C #952454
triadic
#95248C #8C9524 #248C95
tetradic
#95248C #956624 #24952D #245495
square
#95248C #956624 #24952D #245495
split-complementary
#95248C #549524 #249566
monochromatic
#320C2F #64185E #95248C #C630BA #D85CCE

Accessibility & contrast

On white

7.22
#95248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#95248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95248C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95248C#FFFFFF#000000##FFFFFF
##95248C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#9B3256
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #95248c;
/* rgb */ color: rgb(149, 36, 140);
/* oklch */ color: oklch(48.2% 0.186 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86cae',
    500: '#95248c',
    950: '#000000',
  },
}
SCSS
$custom: #95248c;
$custom-light: #b86cae;
$custom-dark: #000000;
JSON
{
  "hex": "#95248c",
  "rgb": {
    "r": 149,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 304.779,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.18648,
    "h": 331.6
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#95248C
secondary
#59BC60
accent
#E45044
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #95248C

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

Preview Lab → · Contrast checker → · Palette generator →

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