#95318E#95318E

#95318E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.172 H 330.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#95318E
RGBrgb(149, 49, 142)
HSLhsl(304, 51%, 39%)
HSVhsv(304, 67%, 58%)
CMYKcmyk(0%, 67.1%, 4.7%, 41.6%)
CIE-LABlab(38.80, 52.93, -30.63)
CIE-LCHlch(38.80, 61.15, 329.94°)
OKLaboklab(49.49% 0.1505 -0.0842)
OKLCHoklch(49.49% 0.172 330.8)
XYZxyz(18.3752, 10.5405, 26.6527)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95318E #319538
analogous
#6A3195 #95318E #95315C
triadic
#95318E #8E9531 #318E95
tetradic
#95318E #956A31 #319538 #315C95
square
#95318E #956A31 #319538 #315C95
split-complementary
#95318E #5C9531 #31956A
monochromatic
#391336 #672262 #95318E #C142B8 #D070C9

Accessibility & contrast

On white

6.76
#95318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#95318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95318E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95318E#FFFFFF#000000##FFFFFF
##95318E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5291
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#9B3C5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #95318e;
/* rgb */ color: rgb(149, 49, 142);
/* oklch */ color: oklch(49.5% 0.172 330.8);
Tailwind
colors: {
  custom: {
    50: '#b771af',
    500: '#95318e',
    950: '#000000',
  },
}
SCSS
$custom: #95318e;
$custom-light: #b771af;
$custom-dark: #000000;
JSON
{
  "hex": "#95318e",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 304.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.17245,
    "h": 330.8
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#95318E
secondary
#6AB86F
accent
#DA584E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #95318E

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

Preview Lab → · Contrast checker → · Palette generator →

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