#954BD7#954BD7

#954BD7 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.207 H 305.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#954BD7
RGBrgb(149, 75, 215)
HSLhsl(272, 64%, 57%)
HSVhsv(272, 65%, 84%)
CMYKcmyk(30.7%, 65.1%, 0%, 15.7%)
CIE-LABlab(47.40, 56.10, -59.94)
CIE-LCHlch(47.40, 82.10, 313.10°)
OKLaboklab(57.1% 0.1188 -0.17)
OKLCHoklch(57.1% 0.207 305)
XYZxyz(27.1735, 16.3282, 65.9969)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BD7 #8DD74B
analogous
#4F4BD7 #954BD7 #D74BD3
triadic
#954BD7 #D7954B #4BD795
tetradic
#954BD7 #D74F4B #8DD74B #4BD3D7
square
#954BD7 #D74F4B #8DD74B #4BD3D7
split-complementary
#954BD7 #D3D74B #4BD74F
monochromatic
#571E89 #772ABB #954BD7 #B27DE2 #D0AFED

Accessibility & contrast

On white

4.92
#954BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#954BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BD7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BD7#FFFFFF#000000##FFFFFF
##954BD71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#2271D4
Tritanopia (blue-blind)
#89698B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954bd7;
/* rgb */ color: rgb(149, 75, 215);
/* oklch */ color: oklch(57.1% 0.207 305.0);
Tailwind
colors: {
  custom: {
    50: '#b982e4',
    500: '#954bd7',
    950: '#000000',
  },
}
SCSS
$custom: #954bd7;
$custom-light: #b982e4;
$custom-dark: #000000;
JSON
{
  "hex": "#954bd7",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 271.714,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.20741,
    "h": 305
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#954BD7
secondary
#BDDBA2
accent
#E7418F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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