#95278E#95278E

#95278E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.185 H 330.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#95278E
RGBrgb(149, 39, 142)
HSLhsl(304, 59%, 37%)
HSVhsv(304, 74%, 58%)
CMYKcmyk(0%, 73.8%, 4.7%, 41.6%)
CIE-LABlab(37.47, 56.66, -32.72)
CIE-LCHlch(37.47, 65.43, 329.99°)
OKLaboklab(48.53% 0.1612 -0.0902)
OKLCHoklch(48.53% 0.185 330.8)
XYZxyz(18.0024, 9.7950, 26.5284)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95278E #27952E
analogous
#652795 #95278E #952757
triadic
#95278E #8E9527 #278E95
tetradic
#95278E #956527 #27952E #275795
square
#95278E #956527 #27952E #275795
split-complementary
#95278E #579527 #279565
monochromatic
#340E32 #641A60 #95278E #C634BC #D661CE

Accessibility & contrast

On white

7.10
#95278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#95278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95278E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95278E#FFFFFF#000000##FFFFFF
##95278E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F91
Deuteranopia (green-blind)
#495D8B
Tritanopia (blue-blind)
#9B3558
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #95278e;
/* rgb */ color: rgb(149, 39, 142);
/* oklch */ color: oklch(48.5% 0.185 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86daf',
    500: '#95278e',
    950: '#000000',
  },
}
SCSS
$custom: #95278e;
$custom-light: #b86daf;
$custom-dark: #000000;
JSON
{
  "hex": "#95278e",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 303.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.18474,
    "h": 330.8
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#95278E
secondary
#5DBB63
accent
#E25046
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #95278E

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

Preview Lab → · Contrast checker → · Palette generator →

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