#954ED5#954ED5

#954ED5 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.201 H 305.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#954ED5
RGBrgb(149, 78, 213)
HSLhsl(272, 62%, 57%)
HSVhsv(272, 63%, 84%)
CMYKcmyk(30%, 63.4%, 0%, 16.5%)
CIE-LABlab(47.81, 54.17, -58.15)
CIE-LCHlch(47.81, 79.47, 312.97°)
OKLaboklab(57.35% 0.1156 -0.1647)
OKLCHoklch(57.35% 0.201 305.1)
XYZxyz(27.1264, 16.6426, 64.7212)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ED5 #8ED54E
analogous
#524ED5 #954ED5 #D54ED1
triadic
#954ED5 #D5954E #4ED595
tetradic
#954ED5 #D5524E #8ED54E #4ED1D5
square
#954ED5 #D5524E #8ED54E #4ED1D5
split-complementary
#954ED5 #D1D54E #4ED552
monochromatic
#572088 #772CBA #954ED5 #B37FE1 #D0B1EC

Accessibility & contrast

On white

4.85
#954ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#954ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ED5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ED5#FFFFFF#000000##FFFFFF
##954ED51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#2B72D2
Tritanopia (blue-blind)
#8A6A8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954ed5;
/* rgb */ color: rgb(149, 78, 213);
/* oklch */ color: oklch(57.4% 0.201 305.1);
Tailwind
colors: {
  custom: {
    50: '#b884e3',
    500: '#954ed5',
    950: '#000000',
  },
}
SCSS
$custom: #954ed5;
$custom-light: #b884e3;
$custom-dark: #000000;
JSON
{
  "hex": "#954ed5",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 271.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57354,
    "c": 0.20125,
    "h": 305.1
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#954ED5
secondary
#BEDBA4
accent
#E54390
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #954ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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