#954EC2#954EC2

#954EC2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.181 H 310.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#954EC2
RGBrgb(149, 78, 194)
HSLhsl(277, 49%, 53%)
HSVhsv(277, 60%, 76%)
CMYKcmyk(23.2%, 59.8%, 0%, 23.9%)
CIE-LABlab(46.62, 49.81, -49.11)
CIE-LCHlch(46.62, 69.95, 315.40°)
OKLaboklab(56.12% 0.1162 -0.1382)
OKLCHoklch(56.12% 0.181 310.1)
XYZxyz(24.8546, 15.7339, 52.7561)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EC2 #7BC24E
analogous
#5B4EC2 #954EC2 #C24EB5
triadic
#954EC2 #C2954E #4EC295
tetradic
#954EC2 #C25B4E #7BC24E #4EB5C2
square
#954EC2 #C25B4E #7BC24E #4EB5C2
split-complementary
#954EC2 #B5C24E #4EC25B
monochromatic
#53266F #75369D #954EC2 #B07CD2 #CCA9E1

Accessibility & contrast

On white

5.06
#954EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#954EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EC2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EC2#FFFFFF#000000##FFFFFF
##954EC21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#4170BF
Tritanopia (blue-blind)
#8F6481
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954ec2;
/* rgb */ color: rgb(149, 78, 194);
/* oklch */ color: oklch(56.1% 0.181 310.1);
Tailwind
colors: {
  custom: {
    50: '#b783d5',
    500: '#954ec2',
    950: '#000000',
  },
}
SCSS
$custom: #954ec2;
$custom-light: #b783d5;
$custom-dark: #000000;
JSON
{
  "hex": "#954ec2",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 276.724,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56117,
    "c": 0.18059,
    "h": 310.1
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#954EC2
secondary
#B0CF9D
accent
#D85085
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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