#954FD5#954FD5

#954FD5 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.5% C 0.200 H 304.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#954FD5
RGBrgb(149, 79, 213)
HSLhsl(271, 61%, 57%)
HSVhsv(271, 63%, 84%)
CMYKcmyk(30%, 62.9%, 0%, 16.5%)
CIE-LABlab(47.99, 53.67, -57.86)
CIE-LCHlch(47.99, 78.92, 312.85°)
OKLaboklab(57.49% 0.1145 -0.1639)
OKLCHoklch(57.49% 0.2 304.9)
XYZxyz(27.1980, 16.7858, 64.7450)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FD5 #8FD54F
analogous
#524FD5 #954FD5 #D54FD2
triadic
#954FD5 #D5954F #4FD595
tetradic
#954FD5 #D5524F #8FD54F #4FD2D5
square
#954FD5 #D5524F #8FD54F #4FD2D5
split-complementary
#954FD5 #D2D54F #4FD552
monochromatic
#572189 #772CBA #954FD5 #B380E1 #D1B2ED

Accessibility & contrast

On white

4.82
#954FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#954FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FD5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FD5#FFFFFF#000000##FFFFFF
##954FD51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#8A6B8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954fd5;
/* rgb */ color: rgb(149, 79, 213);
/* oklch */ color: oklch(57.5% 0.200 304.9);
Tailwind
colors: {
  custom: {
    50: '#b884e3',
    500: '#954fd5',
    950: '#000000',
  },
}
SCSS
$custom: #954fd5;
$custom-light: #b884e3;
$custom-dark: #000000;
JSON
{
  "hex": "#954fd5",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 271.343,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.19989,
    "h": 304.9
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#954FD5
secondary
#BFDBA5
accent
#E54390
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #954FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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