#954CE5#954CE5

#954CE5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.221 H 301.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#954CE5
RGBrgb(149, 76, 229)
HSLhsl(269, 75%, 60%)
HSVhsv(269, 67%, 90%)
CMYKcmyk(34.9%, 66.8%, 0%, 10.2%)
CIE-LABlab(48.53, 58.92, -66.08)
CIE-LCHlch(48.53, 88.53, 311.72°)
OKLaboklab(58.22% 0.1163 -0.188)
OKLCHoklch(58.22% 0.221 301.7)
XYZxyz(29.1183, 17.2155, 75.9024)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CE5 #9CE54C
analogous
#4C50E5 #954CE5 #E14CE5
triadic
#954CE5 #E5954C #4CE595
tetradic
#954CE5 #E54C50 #9CE54C #4CE5E1
square
#954CE5 #E54C50 #9CE54C #4CE5E1
split-complementary
#954CE5 #E5E14C #50E54C
monochromatic
#58179F #761FD5 #954CE5 #B581ED #D4B7F5

Accessibility & contrast

On white

4.73
#954CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#954CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CE5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CE5#FFFFFF#000000##FFFFFF
##954CE51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#846F92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #954ce5;
/* rgb */ color: rgb(149, 76, 229);
/* oklch */ color: oklch(58.2% 0.221 301.7);
Tailwind
colors: {
  custom: {
    50: '#ba83ee',
    500: '#954ce5',
    950: '#000000',
  },
}
SCSS
$custom: #954ce5;
$custom-light: #ba83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#954ce5",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 268.627,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58216,
    "c": 0.22107,
    "h": 301.7
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#954CE5
secondary
#C8E4A9
accent
#F13798
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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