#954CD4#954CD4

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

Color values

HEX#954CD4
RGBrgb(149, 76, 212)
HSLhsl(272, 61%, 56%)
HSVhsv(272, 64%, 83%)
CMYKcmyk(29.7%, 64.2%, 0%, 16.9%)
CIE-LABlab(47.38, 54.92, -58.26)
CIE-LCHlch(47.38, 80.07, 313.31°)
OKLaboklab(57.03% 0.118 -0.165)
OKLCHoklch(57.03% 0.203 305.6)
XYZxyz(26.8599, 16.3121, 64.0081)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CD4 #8BD44C
analogous
#514CD4 #954CD4 #D44CCF
triadic
#954CD4 #D4954C #4CD495
tetradic
#954CD4 #D4514C #8BD44C #4CCFD4
square
#954CD4 #D4514C #8BD44C #4CCFD4
split-complementary
#954CD4 #CFD44C #4CD451
monochromatic
#572086 #772CB7 #954CD4 #B27DE0 #CFAFEC

Accessibility & contrast

On white

4.93
#954CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#954CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CD4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CD4#FFFFFF#000000##FFFFFF
##954CD41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#2971D1
Tritanopia (blue-blind)
#8A6989
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954cd4;
/* rgb */ color: rgb(149, 76, 212);
/* oklch */ color: oklch(57.0% 0.203 305.6);
Tailwind
colors: {
  custom: {
    50: '#b882e2',
    500: '#954cd4',
    950: '#000000',
  },
}
SCSS
$custom: #954cd4;
$custom-light: #b882e2;
$custom-dark: #000000;
JSON
{
  "hex": "#954cd4",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 272.206,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.20287,
    "h": 305.6
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#954CD4
secondary
#BCDAA2
accent
#E4438E
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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