#9D2695#9D2695

#9D2695 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.195 H 331.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9D2695
RGBrgb(157, 38, 149)
HSLhsl(304, 61%, 38%)
HSVhsv(304, 76%, 62%)
CMYKcmyk(0%, 75.8%, 5.1%, 38.4%)
CIE-LABlab(39.11, 59.94, -34.31)
CIE-LCHlch(39.11, 69.07, 330.22°)
OKLaboklab(50.1% 0.1709 -0.0946)
OKLCHoklch(50.1% 0.195 331)
XYZxyz(20.0225, 10.7259, 29.4437)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2695 #269D2E
analogous
#6A269D #9D2695 #9D2659
triadic
#9D2695 #959D26 #26959D
tetradic
#9D2695 #9D6A26 #269D2E #26599D
square
#9D2695 #9D6A26 #269D2E #26599D
split-complementary
#9D2695 #599D26 #269D6A
monochromatic
#3A0E37 #6C1A66 #9D2695 #CE33C3 #D964D2

Accessibility & contrast

On white

6.68
#9D2695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D2695 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2695
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2695#FFFFFF#000000##FFFFFF
##9D26951.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#A3355C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2695;
/* rgb */ color: rgb(157, 38, 149);
/* oklch */ color: oklch(50.1% 0.195 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6eb4',
    500: '#9d2695',
    950: '#000000',
  },
}
SCSS
$custom: #9d2695;
$custom-light: #be6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2695",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 304.034,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50098,
    "c": 0.19532,
    "h": 331
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#9D2695
secondary
#60BF66
accent
#E44E44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2695

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

Preview Lab → · Contrast checker → · Palette generator →

#9D2695 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva