#954CBF#954CBF

#954CBF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.180 H 311.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#954CBF
RGBrgb(149, 76, 191)
HSLhsl(278, 47%, 52%)
HSVhsv(278, 60%, 75%)
CMYKcmyk(22%, 60.2%, 0%, 25.1%)
CIE-LABlab(46.07, 50.15, -48.26)
CIE-LCHlch(46.07, 69.60, 316.10°)
OKLaboklab(55.66% 0.1187 -0.1357)
OKLCHoklch(55.66% 0.18 311.2)
XYZxyz(24.3811, 15.3206, 50.9529)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CBF #76BF4C
analogous
#5C4CBF #954CBF #BF4CAF
triadic
#954CBF #BF954C #4CBF95
tetradic
#954CBF #BF5C4C #76BF4C #4CAFBF
square
#954CBF #BF5C4C #76BF4C #4CAFBF
split-complementary
#954CBF #AFBF4C #4CBF5C
monochromatic
#52266B #743698 #954CBF #B079CF #CAA6DF

Accessibility & contrast

On white

5.17
#954CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#954CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CBF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CBF#FFFFFF#000000##FFFFFF
##954CBF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#426FBC
Tritanopia (blue-blind)
#90617E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954cbf;
/* rgb */ color: rgb(149, 76, 191);
/* oklch */ color: oklch(55.7% 0.180 311.2);
Tailwind
colors: {
  custom: {
    50: '#b782d3',
    500: '#954cbf',
    950: '#000000',
  },
}
SCSS
$custom: #954cbf;
$custom-light: #b782d3;
$custom-dark: #000000;
JSON
{
  "hex": "#954cbf",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 278.087,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.18031,
    "h": 311.2
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#954CBF
secondary
#ADCC9A
accent
#D75182
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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