#954CE7#954CE7

#954CE7 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.223 H 301.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#954CE7
RGBrgb(149, 76, 231)
HSLhsl(268, 76%, 60%)
HSVhsv(268, 67%, 91%)
CMYKcmyk(35.5%, 67.1%, 0%, 9.4%)
CIE-LABlab(48.67, 59.39, -66.98)
CIE-LCHlch(48.67, 89.52, 311.56°)
OKLaboklab(58.36% 0.116 -0.1907)
OKLCHoklch(58.36% 0.223 301.3)
XYZxyz(29.3992, 17.3278, 77.3816)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CE7 #9EE74C
analogous
#4C50E7 #954CE7 #E34CE7
triadic
#954CE7 #E7954C #4CE795
tetradic
#954CE7 #E74C50 #9EE74C #4CE7E3
square
#954CE7 #E74C50 #9EE74C #4CE7E3
split-complementary
#954CE7 #E7E34C #50E74C
monochromatic
#5816A3 #751DD9 #954CE7 #B582EE #D5B8F5

Accessibility & contrast

On white

4.70
#954CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#954CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CE7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CE7#FFFFFF#000000##FFFFFF
##954CE71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #954ce7;
/* rgb */ color: rgb(149, 76, 231);
/* oklch */ color: oklch(58.4% 0.223 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba83f0',
    500: '#954ce7',
    950: '#000000',
  },
}
SCSS
$custom: #954ce7;
$custom-light: #ba83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#954ce7",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 268.258,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.2232,
    "h": 301.3
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#954CE7
secondary
#C9E5AA
accent
#D90D79
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #954CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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