#95319D#95319D

#95319D is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 324.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#95319D
RGBrgb(149, 49, 157)
HSLhsl(296, 52%, 40%)
HSVhsv(296, 69%, 62%)
CMYKcmyk(5.1%, 68.8%, 0%, 38.4%)
CIE-LABlab(39.62, 55.56, -38.44)
CIE-LCHlch(39.62, 67.56, 325.33°)
OKLaboklab(50.35% 0.1511 -0.1068)
OKLCHoklch(50.35% 0.185 324.7)
XYZxyz(19.5781, 11.0217, 32.9879)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95319D #399D31
analogous
#5F319D #95319D #9D316F
triadic
#95319D #9D9531 #319D95
tetradic
#95319D #9D5F31 #399D31 #316F9D
square
#95319D #9D5F31 #399D31 #316F9D
split-complementary
#95319D #6F9D31 #319D5F
monochromatic
#3C1440 #69226E #95319D #BC46C5 #CD75D4

Accessibility & contrast

On white

6.55
#95319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#95319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95319D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95319D#FFFFFF#000000##FFFFFF
##95319D1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#984263
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #95319d;
/* rgb */ color: rgb(149, 49, 157);
/* oklch */ color: oklch(50.3% 0.185 324.7);
Tailwind
colors: {
  custom: {
    50: '#b772ba',
    500: '#95319d',
    950: '#000000',
  },
}
SCSS
$custom: #95319d;
$custom-light: #b772ba;
$custom-dark: #000000;
JSON
{
  "hex": "#95319d",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 295.556,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.18504,
    "h": 324.7
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#95319D
secondary
#74BC6E
accent
#DC4C57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #95319D

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

Preview Lab → · Contrast checker → · Palette generator →

#95319D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva