#954CDB#954CDB

#954CDB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.210 H 303.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#954CDB
RGBrgb(149, 76, 219)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 65%, 86%)
CMYKcmyk(32%, 65.3%, 0%, 14.1%)
CIE-LABlab(47.85, 56.55, -61.51)
CIE-LCHlch(47.85, 83.56, 312.60°)
OKLaboklab(57.51% 0.1174 -0.1746)
OKLCHoklch(57.51% 0.21 303.9)
XYZxyz(27.7621, 16.6730, 68.7597)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CDB #92DB4C
analogous
#4D4CDB #954CDB #DB4CDA
triadic
#954CDB #DB954C #4CDB95
tetradic
#954CDB #DB4D4C #92DB4C #4CDADB
square
#954CDB #DB4D4C #92DB4C #4CDADB
split-complementary
#954CDB #DADB4C #4CDB4D
monochromatic
#581D90 #7727C3 #954CDB #B37FE5 #D1B2EF

Accessibility & contrast

On white

4.84
#954CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#954CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CDB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CDB#FFFFFF#000000##FFFFFF
##954CDB1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#886B8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954cdb;
/* rgb */ color: rgb(149, 76, 219);
/* oklch */ color: oklch(57.5% 0.210 303.9);
Tailwind
colors: {
  custom: {
    50: '#b983e7',
    500: '#954cdb',
    950: '#000000',
  },
}
SCSS
$custom: #954cdb;
$custom-light: #b983e7;
$custom-dark: #000000;
JSON
{
  "hex": "#954cdb",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 270.629,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57508,
    "c": 0.21038,
    "h": 303.9
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#954CDB
secondary
#C1DEA5
accent
#E93E92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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