#954FD4#954FD4

#954FD4 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.4% C 0.199 H 305.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#954FD4
RGBrgb(149, 79, 212)
HSLhsl(272, 61%, 57%)
HSVhsv(272, 63%, 83%)
CMYKcmyk(29.7%, 62.7%, 0%, 16.9%)
CIE-LABlab(47.92, 53.44, -57.39)
CIE-LCHlch(47.92, 78.41, 312.96°)
OKLaboklab(57.42% 0.1145 -0.1625)
OKLCHoklch(57.42% 0.199 305.2)
XYZxyz(27.0715, 16.7352, 64.0786)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FD4 #8ED44F
analogous
#534FD4 #954FD4 #D44FD1
triadic
#954FD4 #D4954F #4FD495
tetradic
#954FD4 #D4534F #8ED44F #4FD1D4
square
#954FD4 #D4534F #8ED44F #4FD1D4
split-complementary
#954FD4 #D1D44F #4FD453
monochromatic
#572187 #772DB9 #954FD4 #B380E0 #D0B1EC

Accessibility & contrast

On white

4.83
#954FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#954FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FD4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FD4#FFFFFF#000000##FFFFFF
##954FD41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#2E72D1
Tritanopia (blue-blind)
#8A6B8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #954fd4;
/* rgb */ color: rgb(149, 79, 212);
/* oklch */ color: oklch(57.4% 0.199 305.2);
Tailwind
colors: {
  custom: {
    50: '#b884e2',
    500: '#954fd4',
    950: '#000000',
  },
}
SCSS
$custom: #954fd4;
$custom-light: #b884e2;
$custom-dark: #000000;
JSON
{
  "hex": "#954fd4",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 271.579,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.1988,
    "h": 305.2
  },
  "luminance": 0.16735
}

Semantic roles & 50–950 ramp

primary
#954FD4
secondary
#BEDAA4
accent
#E44490
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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