#954CD8#954CD8

#954CD8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.207 H 304.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#954CD8
RGBrgb(149, 76, 216)
HSLhsl(271, 64%, 57%)
HSVhsv(271, 65%, 85%)
CMYKcmyk(31%, 64.8%, 0%, 15.3%)
CIE-LABlab(47.64, 55.85, -60.12)
CIE-LCHlch(47.64, 82.06, 312.89°)
OKLaboklab(57.3% 0.1176 -0.1705)
OKLCHoklch(57.3% 0.207 304.6)
XYZxyz(27.3708, 16.5164, 66.6985)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CD8 #8FD84C
analogous
#4F4CD8 #954CD8 #D84CD5
triadic
#954CD8 #D8954C #4CD895
tetradic
#954CD8 #D84F4C #8FD84C #4CD5D8
square
#954CD8 #D84F4C #8FD84C #4CD5D8
split-complementary
#954CD8 #D5D84C #4CD84F
monochromatic
#571E8B #7729BE #954CD8 #B37EE3 #D1B1EE

Accessibility & contrast

On white

4.88
#954CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#954CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CD8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CD8#FFFFFF#000000##FFFFFF
##954CD81.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2271D5
Tritanopia (blue-blind)
#896A8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954cd8;
/* rgb */ color: rgb(149, 76, 216);
/* oklch */ color: oklch(57.3% 0.207 304.6);
Tailwind
colors: {
  custom: {
    50: '#b982e5',
    500: '#954cd8',
    950: '#000000',
  },
}
SCSS
$custom: #954cd8;
$custom-light: #b982e5;
$custom-dark: #000000;
JSON
{
  "hex": "#954cd8",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 271.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.573,
    "c": 0.20716,
    "h": 304.6
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#954CD8
secondary
#BFDCA4
accent
#E74190
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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