#954BD5#954BD5

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

Color values

HEX#954BD5
RGBrgb(149, 75, 213)
HSLhsl(272, 62%, 56%)
HSVhsv(272, 65%, 84%)
CMYKcmyk(30%, 64.8%, 0%, 16.5%)
CIE-LABlab(47.27, 55.64, -59.02)
CIE-LCHlch(47.27, 81.11, 313.31°)
OKLaboklab(56.97% 0.119 -0.1673)
OKLCHoklch(56.97% 0.205 305.4)
XYZxyz(26.9181, 16.2260, 64.6517)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BD5 #8BD54B
analogous
#504BD5 #954BD5 #D54BD0
triadic
#954BD5 #D5954B #4BD595
tetradic
#954BD5 #D5504B #8BD54B #4BD0D5
square
#954BD5 #D5504B #8BD54B #4BD0D5
split-complementary
#954BD5 #D0D54B #4BD550
monochromatic
#571F86 #772BB8 #954BD5 #B27DE1 #CFAEEC

Accessibility & contrast

On white

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

On black

4.25
#954BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##954BD5#FFFFFF#000000##FFFFFF
##954BD51.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#2670D2
Tritanopia (blue-blind)
#8A698A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954bd5;
/* rgb */ color: rgb(149, 75, 213);
/* oklch */ color: oklch(57.0% 0.205 305.4);
Tailwind
colors: {
  custom: {
    50: '#b982e3',
    500: '#954bd5',
    950: '#000000',
  },
}
SCSS
$custom: #954bd5;
$custom-light: #b982e3;
$custom-dark: #000000;
JSON
{
  "hex": "#954bd5",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 272.174,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.20528,
    "h": 305.4
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#954BD5
secondary
#BCDAA2
accent
#E5438E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #954BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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