#951895#951895

#951895 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.204 H 328.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#951895
RGBrgb(149, 24, 149)
HSLhsl(300, 72%, 34%)
HSVhsv(300, 84%, 58%)
CMYKcmyk(0%, 83.9%, 0%, 41.6%)
CIE-LABlab(36.39, 62.07, -38.72)
CIE-LCHlch(36.39, 73.16, 328.05°)
OKLaboklab(47.89% 0.1734 -0.1075)
OKLCHoklch(47.89% 0.204 328.2)
XYZxyz(18.1457, 9.2142, 29.2507)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951895 #189518
analogous
#571895 #951895 #951857
triadic
#951895 #959518 #189595
tetradic
#951895 #955718 #189518 #185795
square
#951895 #955718 #189518 #185795
split-complementary
#951895 #579518 #189557
monochromatic
#2C072C #601060 #951895 #CA20CA #E146E1

Accessibility & contrast

On white

7.39
#951895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#951895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951895
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951895#FFFFFF#000000##FFFFFF
##9518951.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#3F5B92
Tritanopia (blue-blind)
#9A3059
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951895;
/* rgb */ color: rgb(149, 24, 149);
/* oklch */ color: oklch(47.9% 0.204 328.2);
Tailwind
colors: {
  custom: {
    50: '#b868b5',
    500: '#951895',
    950: '#000000',
  },
}
SCSS
$custom: #951895;
$custom-light: #b868b5;
$custom-dark: #000000;
JSON
{
  "hex": "#951895",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 300,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.20397,
    "h": 328.2
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#951895
secondary
#46C246
accent
#EF3939
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951895

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

Preview Lab → · Contrast checker → · Palette generator →

#951895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva