#954EE7#954EE7

#954EE7 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.221 H 301.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#954EE7
RGBrgb(149, 78, 231)
HSLhsl(268, 76%, 61%)
HSVhsv(268, 66%, 91%)
CMYKcmyk(35.5%, 66.2%, 0%, 9.4%)
CIE-LABlab(49.02, 58.44, -66.42)
CIE-LCHlch(49.02, 88.46, 311.34°)
OKLaboklab(58.61% 0.114 -0.189)
OKLCHoklch(58.61% 0.221 301.1)
XYZxyz(29.5391, 17.6077, 77.4282)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EE7 #A0E74E
analogous
#4E53E7 #954EE7 #E14EE7
triadic
#954EE7 #E7954E #4EE795
tetradic
#954EE7 #E74E53 #A0E74E #4EE7E1
square
#954EE7 #E74E53 #A0E74E #4EE7E1
split-complementary
#954EE7 #E7E14E #53E74E
monochromatic
#5816A4 #751EDA #954EE7 #B584EE #D6BAF6

Accessibility & contrast

On white

4.64
#954EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#954EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #954EE7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EE7#FFFFFF#000000##FFFFFF
##954EE71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#837194
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #954ee7;
/* rgb */ color: rgb(149, 78, 231);
/* oklch */ color: oklch(58.6% 0.221 301.1);
Tailwind
colors: {
  custom: {
    50: '#ba84f0',
    500: '#954ee7',
    950: '#000000',
  },
}
SCSS
$custom: #954ee7;
$custom-light: #ba84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#954ee7",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 267.843,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.22072,
    "h": 301.1
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#954EE7
secondary
#CAE5AB
accent
#D80D7A
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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