#952F94#952F94

#952F94 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.180 H 328.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#952F94
RGBrgb(149, 47, 148)
HSLhsl(301, 52%, 38%)
HSVhsv(301, 68%, 58%)
CMYKcmyk(0%, 68.5%, 0.7%, 41.6%)
CIE-LABlab(38.83, 54.75, -34.23)
CIE-LCHlch(38.83, 64.57, 327.98°)
OKLaboklab(49.62% 0.1531 -0.0946)
OKLCHoklch(49.62% 0.18 328.3)
XYZxyz(18.7560, 10.5620, 29.0620)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F94 #2F9530
analogous
#632F95 #952F94 #952F61
triadic
#952F94 #94952F #2F9495
tetradic
#952F94 #95632F #2F9530 #2F6195
square
#952F94 #95632F #2F9530 #2F6195
split-complementary
#952F94 #61952F #2F9563
monochromatic
#381238 #662066 #952F94 #C23FC1 #D16DD0

Accessibility & contrast

On white

6.75
#952F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#952F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F94
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F94#FFFFFF#000000##FFFFFF
##952F941.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215397
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#9A3D5E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952f94;
/* rgb */ color: rgb(149, 47, 148);
/* oklch */ color: oklch(49.6% 0.180 328.3);
Tailwind
colors: {
  custom: {
    50: '#b771b4',
    500: '#952f94',
    950: '#000000',
  },
}
SCSS
$custom: #952f94;
$custom-light: #b771b4;
$custom-dark: #000000;
JSON
{
  "hex": "#952f94",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 300.588,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49619,
    "c": 0.17997,
    "h": 328.3
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#952F94
secondary
#67B868
accent
#DB4E4C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952F94

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

Preview Lab → · Contrast checker → · Palette generator →

#952F94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva