#955EA2#955EA2

#955EA2 is a mid, moderate purple. Relative luminance 0.170; OKLCH L 56.8% C 0.118 H 319.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#955EA2
RGBrgb(149, 94, 162)
HSLhsl(289, 27%, 50%)
HSVhsv(289, 42%, 64%)
CMYKcmyk(8%, 42%, 0%, 36.5%)
CIE-LABlab(48.27, 34.20, -27.81)
CIE-LCHlch(48.27, 44.08, 320.88°)
OKLaboklab(56.79% 0.0905 -0.0765)
OKLCHoklch(56.79% 0.118 319.8)
XYZxyz(22.9179, 17.0044, 36.2503)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955EA2 #6BA25E
analogous
#735EA2 #955EA2 #A25E8D
triadic
#955EA2 #A2955E #5EA295
tetradic
#955EA2 #A2735E #6BA25E #5E8DA2
square
#955EA2 #A2735E #6BA25E #5E8DA2
split-complementary
#955EA2 #8DA25E #5EA273
monochromatic
#4E3155 #72477B #955EA2 #AF85B8 #C8ACCF

Accessibility & contrast

On white

4.77
#955EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#955EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #955EA2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955EA2#FFFFFF#000000##FFFFFF
##955EA21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546FA4
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#966678
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #955ea2;
/* rgb */ color: rgb(149, 94, 162);
/* oklch */ color: oklch(56.8% 0.118 319.8);
Tailwind
colors: {
  custom: {
    50: '#b58dbd',
    500: '#955ea2',
    950: '#000000',
  },
}
SCSS
$custom: #955ea2;
$custom-light: #b58dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#955ea2",
  "rgb": {
    "r": 149,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 288.529,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.11846,
    "h": 319.8
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#955EA2
secondary
#A5BD9F
accent
#C36577
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #955EA2

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

Preview Lab → · Contrast checker → · Palette generator →

#955EA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva