#954CCE#954CCE

#954CCE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.196 H 307.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#954CCE
RGBrgb(149, 76, 206)
HSLhsl(274, 57%, 55%)
HSVhsv(274, 63%, 81%)
CMYKcmyk(27.7%, 63.1%, 0%, 19.2%)
CIE-LABlab(46.99, 53.53, -55.45)
CIE-LCHlch(46.99, 77.07, 314.00°)
OKLaboklab(56.62% 0.1183 -0.1568)
OKLCHoklch(56.62% 0.196 307)
XYZxyz(26.1171, 16.0150, 60.0959)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CCE #85CE4C
analogous
#544CCE #954CCE #CE4CC6
triadic
#954CCE #CE954C #4CCE95
tetradic
#954CCE #CE544C #85CE4C #4CC6CE
square
#954CCE #CE544C #85CE4C #4CC6CE
split-complementary
#954CCE #C6CE4C #4CCE54
monochromatic
#55227D #762FAD #954CCE #B17CDB #CEACE8

Accessibility & contrast

On white

5.00
#954CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#954CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CCE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CCE#FFFFFF#000000##FFFFFF
##954CCE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#8C6786
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954cce;
/* rgb */ color: rgb(149, 76, 206);
/* oklch */ color: oklch(56.6% 0.196 307.0);
Tailwind
colors: {
  custom: {
    50: '#b882de',
    500: '#954cce',
    950: '#000000',
  },
}
SCSS
$custom: #954cce;
$custom-light: #b882de;
$custom-dark: #000000;
JSON
{
  "hex": "#954cce",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 273.692,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.19643,
    "h": 307
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#954CCE
secondary
#B8D6A0
accent
#E0488B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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