#954FC7#954FC7

#954FC7 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.6% C 0.185 H 308.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#954FC7
RGBrgb(149, 79, 199)
HSLhsl(275, 52%, 55%)
HSVhsv(275, 60%, 78%)
CMYKcmyk(25.1%, 60.3%, 0%, 22%)
CIE-LABlab(47.11, 50.43, -51.22)
CIE-LCHlch(47.11, 71.88, 314.55°)
OKLaboklab(56.57% 0.115 -0.1444)
OKLCHoklch(56.57% 0.185 308.5)
XYZxyz(25.4972, 16.1054, 55.7872)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FC7 #81C74F
analogous
#594FC7 #954FC7 #C74FBD
triadic
#954FC7 #C7954F #4FC795
tetradic
#954FC7 #C7594F #81C74F #4FBDC7
square
#954FC7 #C7594F #81C74F #4FBDC7
split-complementary
#954FC7 #BDC74F #4FC759
monochromatic
#552676 #7634A4 #954FC7 #B17DD6 #CDACE5

Accessibility & contrast

On white

4.98
#954FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#954FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FC7#FFFFFF#000000##FFFFFF
##954FC71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#3E71C4
Tritanopia (blue-blind)
#8E6684
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954fc7;
/* rgb */ color: rgb(149, 79, 199);
/* oklch */ color: oklch(56.6% 0.185 308.5);
Tailwind
colors: {
  custom: {
    50: '#b784d9',
    500: '#954fc7',
    950: '#000000',
  },
}
SCSS
$custom: #954fc7;
$custom-light: #b784d9;
$custom-dark: #000000;
JSON
{
  "hex": "#954fc7",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 275,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.18457,
    "h": 308.5
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#954FC7
secondary
#B5D2A0
accent
#DB4D88
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #954FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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