#954CD3#954CD3

#954CD3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.202 H 305.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#954CD3
RGBrgb(149, 76, 211)
HSLhsl(272, 61%, 56%)
HSVhsv(272, 64%, 83%)
CMYKcmyk(29.4%, 64%, 0%, 17.3%)
CIE-LABlab(47.32, 54.69, -57.80)
CIE-LCHlch(47.32, 79.57, 313.42°)
OKLaboklab(56.96% 0.118 -0.1637)
OKLCHoklch(56.96% 0.202 305.8)
XYZxyz(26.7342, 16.2618, 63.3458)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CD3 #8AD34C
analogous
#524CD3 #954CD3 #D34CCE
triadic
#954CD3 #D3954C #4CD395
tetradic
#954CD3 #D3524C #8AD34C #4CCED3
square
#954CD3 #D3524C #8AD34C #4CCED3
split-complementary
#954CD3 #CED34C #4CD352
monochromatic
#562084 #762DB5 #954CD3 #B27DDF #CFAEEB

Accessibility & contrast

On white

4.94
#954CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#954CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CD3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CD3#FFFFFF#000000##FFFFFF
##954CD31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#2B71D0
Tritanopia (blue-blind)
#8A6989
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954cd3;
/* rgb */ color: rgb(149, 76, 211);
/* oklch */ color: oklch(57.0% 0.202 305.8);
Tailwind
colors: {
  custom: {
    50: '#b882e1',
    500: '#954cd3',
    950: '#000000',
  },
}
SCSS
$custom: #954cd3;
$custom-light: #b882e1;
$custom-dark: #000000;
JSON
{
  "hex": "#954cd3",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 272.444,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.2018,
    "h": 305.8
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#954CD3
secondary
#BBD9A2
accent
#E4448D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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