#954ECF#954ECF

#954ECF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 57.0% C 0.195 H 306.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#954ECF
RGBrgb(149, 78, 207)
HSLhsl(273, 57%, 56%)
HSVhsv(273, 62%, 81%)
CMYKcmyk(28%, 62.3%, 0%, 18.8%)
CIE-LABlab(47.42, 52.77, -55.33)
CIE-LCHlch(47.42, 76.46, 313.64°)
OKLaboklab(56.95% 0.1159 -0.1564)
OKLCHoklch(56.95% 0.195 306.5)
XYZxyz(26.3789, 16.3436, 60.7843)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ECF #88CF4E
analogous
#544ECF #954ECF #CF4EC8
triadic
#954ECF #CF954E #4ECF95
tetradic
#954ECF #CF544E #88CF4E #4EC8CF
square
#954ECF #CF544E #88CF4E #4EC8CF
split-complementary
#954ECF #C8CF4E #4ECF54
monochromatic
#562380 #7630B0 #954ECF #B27EDC #CFAEE9

Accessibility & contrast

On white

4.92
#954ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#954ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ECF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ECF#FFFFFF#000000##FFFFFF
##954ECF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#8B6887
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954ecf;
/* rgb */ color: rgb(149, 78, 207);
/* oklch */ color: oklch(57.0% 0.195 306.5);
Tailwind
colors: {
  custom: {
    50: '#b883de',
    500: '#954ecf',
    950: '#000000',
  },
}
SCSS
$custom: #954ecf;
$custom-light: #b883de;
$custom-dark: #000000;
JSON
{
  "hex": "#954ecf",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 273.023,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.19473,
    "h": 306.5
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#954ECF
secondary
#BAD7A2
accent
#E1478C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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