#954BC2#954BC2

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

Color values

HEX#954BC2
RGBrgb(149, 75, 194)
HSLhsl(277, 49%, 53%)
HSVhsv(277, 61%, 76%)
CMYKcmyk(23.2%, 61.3%, 0%, 23.9%)
CIE-LABlab(46.07, 51.32, -50.01)
CIE-LCHlch(46.07, 71.65, 315.74°)
OKLaboklab(55.71% 0.12 -0.1408)
OKLCHoklch(55.71% 0.185 310.4)
XYZxyz(24.6463, 15.3173, 52.6867)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BC2 #78C24B
analogous
#594BC2 #954BC2 #C24BB4
triadic
#954BC2 #C2954B #4BC295
tetradic
#954BC2 #C2594B #78C24B #4BB4C2
square
#954BC2 #C2594B #78C24B #4BB4C2
split-complementary
#954BC2 #B4C24B #4BC259
monochromatic
#52256D #74359B #954BC2 #B079D1 #CBA6E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##954BC2#FFFFFF#000000##FFFFFF
##954BC21.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)
#186AC6
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#8F627F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954bc2;
/* rgb */ color: rgb(149, 75, 194);
/* oklch */ color: oklch(55.7% 0.185 310.4);
Tailwind
colors: {
  custom: {
    50: '#b781d5',
    500: '#954bc2',
    950: '#000000',
  },
}
SCSS
$custom: #954bc2;
$custom-light: #b781d5;
$custom-dark: #000000;
JSON
{
  "hex": "#954bc2",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 277.311,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.18498,
    "h": 310.4
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#954BC2
secondary
#AECE9B
accent
#D94F83
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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