#954EDD#954EDD

#954EDD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.210 H 303.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#954EDD
RGBrgb(149, 78, 221)
HSLhsl(270, 68%, 59%)
HSVhsv(270, 65%, 87%)
CMYKcmyk(32.6%, 64.7%, 0%, 13.3%)
CIE-LABlab(48.33, 56.05, -61.86)
CIE-LCHlch(48.33, 83.48, 312.18°)
OKLaboklab(57.9% 0.115 -0.1756)
OKLCHoklch(57.9% 0.21 303.2)
XYZxyz(28.1670, 17.0588, 70.2014)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EDD #96DD4E
analogous
#4E4EDD #954EDD #DC4EDD
triadic
#954EDD #DD954E #4EDD95
tetradic
#954EDD #DD4E4E #96DD4E #4EDDDC
square
#954EDD #DD4E4E #96DD4E #4EDDDC
split-complementary
#954EDD #DDDC4E #4EDD4E
monochromatic
#581C94 #7626C7 #954EDD #B481E7 #D2B5F1

Accessibility & contrast

On white

4.76
#954EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#954EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EDD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EDD#FFFFFF#000000##FFFFFF
##954EDD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#1B72DA
Tritanopia (blue-blind)
#876D8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #954edd;
/* rgb */ color: rgb(149, 78, 221);
/* oklch */ color: oklch(57.9% 0.210 303.2);
Tailwind
colors: {
  custom: {
    50: '#b984e8',
    500: '#954edd',
    950: '#000000',
  },
}
SCSS
$custom: #954edd;
$custom-light: #b984e8;
$custom-dark: #000000;
JSON
{
  "hex": "#954edd",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 269.79,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.20993,
    "h": 303.2
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#954EDD
secondary
#C4E0A7
accent
#EB3D95
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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