#954FBB#954FBB

#954FBB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.171 H 312.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#954FBB
RGBrgb(149, 79, 187)
HSLhsl(279, 44%, 52%)
HSVhsv(279, 58%, 73%)
CMYKcmyk(20.3%, 57.8%, 0%, 26.7%)
CIE-LABlab(46.41, 47.74, -45.39)
CIE-LCHlch(46.41, 65.87, 316.44°)
OKLaboklab(55.83% 0.1148 -0.1273)
OKLCHoklch(55.83% 0.171 312)
XYZxyz(24.1585, 15.5700, 48.7367)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FBB #75BB4F
analogous
#5F4FBB #954FBB #BB4FAB
triadic
#954FBB #BB954F #4FBB95
tetradic
#954FBB #BB5F4F #75BB4F #4FABBB
square
#954FBB #BB5F4F #75BB4F #4FABBB
split-complementary
#954FBB #ABBB4F #4FBB5F
monochromatic
#512868 #743994 #954FBB #B07BCC #CAA7DD

Accessibility & contrast

On white

5.10
#954FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#954FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FBB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FBB#FFFFFF#000000##FFFFFF
##954FBB1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#91627D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #954fbb;
/* rgb */ color: rgb(149, 79, 187);
/* oklch */ color: oklch(55.8% 0.171 312.0);
Tailwind
colors: {
  custom: {
    50: '#b784d0',
    500: '#954fbb',
    950: '#000000',
  },
}
SCSS
$custom: #954fbb;
$custom-light: #b784d0;
$custom-dark: #000000;
JSON
{
  "hex": "#954fbb",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 278.889,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.17147,
    "h": 312
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#954FBB
secondary
#ACCA9B
accent
#D45481
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #954FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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