#954FC5#954FC5

#954FC5 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.182 H 309.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#954FC5
RGBrgb(149, 79, 197)
HSLhsl(276, 50%, 54%)
HSVhsv(276, 60%, 77%)
CMYKcmyk(24.4%, 59.9%, 0%, 22.7%)
CIE-LABlab(46.99, 49.98, -50.26)
CIE-LCHlch(46.99, 70.88, 314.84°)
OKLaboklab(56.44% 0.115 -0.1416)
OKLCHoklch(56.44% 0.182 309.1)
XYZxyz(25.2665, 16.0132, 54.5723)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FC5 #7FC54F
analogous
#5A4FC5 #954FC5 #C54FBA
triadic
#954FC5 #C5954F #4FC595
tetradic
#954FC5 #C55A4F #7FC54F #4FBAC5
square
#954FC5 #C55A4F #7FC54F #4FBAC5
split-complementary
#954FC5 #BAC54F #4FC55A
monochromatic
#542674 #7535A2 #954FC5 #B17DD4 #CCABE3

Accessibility & contrast

On white

5.00
#954FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#954FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FC5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FC5#FFFFFF#000000##FFFFFF
##954FC51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#3F70C2
Tritanopia (blue-blind)
#8E6683
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954fc5;
/* rgb */ color: rgb(149, 79, 197);
/* oklch */ color: oklch(56.4% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#b784d7',
    500: '#954fc5',
    950: '#000000',
  },
}
SCSS
$custom: #954fc5;
$custom-light: #b784d7;
$custom-dark: #000000;
JSON
{
  "hex": "#954fc5",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 275.593,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.18239,
    "h": 309.1
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#954FC5
secondary
#B3D19F
accent
#DA4E87
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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