#954DE7#954DE7

#954DE7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.222 H 301.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#954DE7
RGBrgb(149, 77, 231)
HSLhsl(268, 76%, 60%)
HSVhsv(268, 67%, 91%)
CMYKcmyk(35.5%, 66.7%, 0%, 9.4%)
CIE-LABlab(48.84, 58.92, -66.70)
CIE-LCHlch(48.84, 88.99, 311.45°)
OKLaboklab(58.48% 0.115 -0.1899)
OKLCHoklch(58.48% 0.222 301.2)
XYZxyz(29.4686, 17.4667, 77.4047)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DE7 #9FE74D
analogous
#4D52E7 #954DE7 #E24DE7
triadic
#954DE7 #E7954D #4DE795
tetradic
#954DE7 #E74D52 #9FE74D #4DE7E2
square
#954DE7 #E74D52 #9FE74D #4DE7E2
split-complementary
#954DE7 #E7E24D #52E74D
monochromatic
#5816A4 #751DD9 #954DE7 #B583EE #D5B9F6

Accessibility & contrast

On white

4.67
#954DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#954DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DE7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DE7#FFFFFF#000000##FFFFFF
##954DE71.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #954de7;
/* rgb */ color: rgb(149, 77, 231);
/* oklch */ color: oklch(58.5% 0.222 301.2);
Tailwind
colors: {
  custom: {
    50: '#ba83f0',
    500: '#954de7',
    950: '#000000',
  },
}
SCSS
$custom: #954de7;
$custom-light: #ba83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#954de7",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 268.052,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58484,
    "c": 0.22197,
    "h": 301.2
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#954DE7
secondary
#CAE5AA
accent
#D80D79
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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