#95278B#95278B

#95278B is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.182 H 332.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#95278B
RGBrgb(149, 39, 139)
HSLhsl(305, 59%, 37%)
HSVhsv(305, 74%, 58%)
CMYKcmyk(0%, 73.8%, 6.7%, 41.6%)
CIE-LABlab(37.31, 56.18, -31.14)
CIE-LCHlch(37.31, 64.23, 331.00°)
OKLaboklab(48.37% 0.1611 -0.0856)
OKLCHoklch(48.37% 0.182 332)
XYZxyz(17.7802, 9.7061, 25.3581)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95278B #279531
analogous
#682795 #95278B #952754
triadic
#95278B #8B9527 #278B95
tetradic
#95278B #956827 #279531 #275495
square
#95278B #956827 #279531 #275495
split-complementary
#95278B #549527 #279568
monochromatic
#340E31 #641A5E #95278B #C634B8 #D661CB

Accessibility & contrast

On white

7.14
#95278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#95278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95278B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95278B#FFFFFF#000000##FFFFFF
##95278B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#9B3356
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #95278b;
/* rgb */ color: rgb(149, 39, 139);
/* oklch */ color: oklch(48.4% 0.182 332.0);
Tailwind
colors: {
  custom: {
    50: '#b86dad',
    500: '#95278b',
    950: '#000000',
  },
}
SCSS
$custom: #95278b;
$custom-light: #b86dad;
$custom-dark: #000000;
JSON
{
  "hex": "#95278b",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 305.455,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.18243,
    "h": 332
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#95278B
secondary
#5DBB65
accent
#E25446
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #95278B

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

Preview Lab → · Contrast checker → · Palette generator →

#95278B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva