#954EC0#954EC0

#954EC0 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.178 H 310.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#954EC0
RGBrgb(149, 78, 192)
HSLhsl(277, 48%, 53%)
HSVhsv(277, 59%, 75%)
CMYKcmyk(22.4%, 59.4%, 0%, 24.7%)
CIE-LABlab(46.50, 49.36, -48.14)
CIE-LCHlch(46.50, 68.95, 315.72°)
OKLaboklab(55.99% 0.1162 -0.1354)
OKLCHoklch(55.99% 0.178 310.6)
XYZxyz(24.6315, 15.6446, 51.5811)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EC0 #79C04E
analogous
#5C4EC0 #954EC0 #C04EB2
triadic
#954EC0 #C0954E #4EC095
tetradic
#954EC0 #C05C4E #79C04E #4EB2C0
square
#954EC0 #C05C4E #79C04E #4EB2C0
split-complementary
#954EC0 #B2C04E #4EC05C
monochromatic
#52276D #75379A #954EC0 #B07BD0 #CBA8E0

Accessibility & contrast

On white

5.09
#954EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#954EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EC0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EC0#FFFFFF#000000##FFFFFF
##954EC01.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246BC4
Deuteranopia (green-blind)
#436FBD
Tritanopia (blue-blind)
#906380
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954ec0;
/* rgb */ color: rgb(149, 78, 192);
/* oklch */ color: oklch(56.0% 0.178 310.6);
Tailwind
colors: {
  custom: {
    50: '#b783d3',
    500: '#954ec0',
    950: '#000000',
  },
}
SCSS
$custom: #954ec0;
$custom-light: #b783d3;
$custom-dark: #000000;
JSON
{
  "hex": "#954ec0",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 277.368,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.17842,
    "h": 310.6
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#954EC0
secondary
#AFCE9C
accent
#D75183
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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