#954EDC#954EDC

#954EDC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.209 H 303.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#954EDC
RGBrgb(149, 78, 220)
HSLhsl(270, 67%, 58%)
HSVhsv(270, 65%, 86%)
CMYKcmyk(32.3%, 64.5%, 0%, 13.7%)
CIE-LABlab(48.27, 55.81, -61.40)
CIE-LCHlch(48.27, 82.98, 312.27°)
OKLaboklab(57.83% 0.1151 -0.1743)
OKLCHoklch(57.83% 0.209 303.4)
XYZxyz(28.0341, 17.0057, 69.5018)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EDC #95DC4E
analogous
#4E4EDC #954EDC #DC4EDC
triadic
#954EDC #DC954E #4EDC95
tetradic
#954EDC #DC4E4E #95DC4E #4EDCDC
square
#954EDC #DC4E4E #95DC4E #4EDCDC
split-complementary
#954EDC #DCDC4E #4EDC4E
monochromatic
#581D93 #7627C6 #954EDC #B481E6 #D2B4F0

Accessibility & contrast

On white

4.77
#954EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#954EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EDC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EDC#FFFFFF#000000##FFFFFF
##954EDC1.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)
#0071E0
Deuteranopia (green-blind)
#1E72D9
Tritanopia (blue-blind)
#876D8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #954edc;
/* rgb */ color: rgb(149, 78, 220);
/* oklch */ color: oklch(57.8% 0.209 303.4);
Tailwind
colors: {
  custom: {
    50: '#b984e8',
    500: '#954edc',
    950: '#000000',
  },
}
SCSS
$custom: #954edc;
$custom-light: #b984e8;
$custom-dark: #000000;
JSON
{
  "hex": "#954edc",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.20884,
    "h": 303.4
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#954EDC
secondary
#C3DFA7
accent
#EA3E94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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