#954CD2#954CD2

#954CD2 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.201 H 306.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#954CD2
RGBrgb(149, 76, 210)
HSLhsl(273, 60%, 56%)
HSVhsv(273, 64%, 82%)
CMYKcmyk(29%, 63.8%, 0%, 17.6%)
CIE-LABlab(47.25, 54.46, -57.33)
CIE-LCHlch(47.25, 79.07, 313.53°)
OKLaboklab(56.89% 0.1181 -0.1623)
OKLCHoklch(56.89% 0.201 306)
XYZxyz(26.6092, 16.2118, 62.6877)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CD2 #89D24C
analogous
#524CD2 #954CD2 #D24CCC
triadic
#954CD2 #D2954C #4CD295
tetradic
#954CD2 #D2524C #89D24C #4CCCD2
square
#954CD2 #D2524C #89D24C #4CCCD2
split-complementary
#954CD2 #CCD24C #4CD252
monochromatic
#562183 #762DB4 #954CD2 #B27DDE #CFAEEB

Accessibility & contrast

On white

4.95
#954CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#954CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CD2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CD2#FFFFFF#000000##FFFFFF
##954CD21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#2C70CF
Tritanopia (blue-blind)
#8B6888
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954cd2;
/* rgb */ color: rgb(149, 76, 210);
/* oklch */ color: oklch(56.9% 0.201 306.0);
Tailwind
colors: {
  custom: {
    50: '#b882e0',
    500: '#954cd2',
    950: '#000000',
  },
}
SCSS
$custom: #954cd2;
$custom-light: #b882e0;
$custom-dark: #000000;
JSON
{
  "hex": "#954cd2",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 272.687,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.20073,
    "h": 306
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#954CD2
secondary
#BAD9A1
accent
#E3458D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CD2

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

Preview Lab → · Contrast checker → · Palette generator →

#954CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva