#954FDF#954FDF

#954FDF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.211 H 302.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#954FDF
RGBrgb(149, 79, 223)
HSLhsl(269, 69%, 59%)
HSVhsv(269, 65%, 87%)
CMYKcmyk(33.2%, 64.6%, 0%, 12.5%)
CIE-LABlab(48.65, 56.03, -62.49)
CIE-LCHlch(48.65, 83.93, 311.88°)
OKLaboklab(58.17% 0.1137 -0.1775)
OKLCHoklch(58.17% 0.211 302.6)
XYZxyz(28.5066, 17.3092, 71.6369)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FDF #99DF4F
analogous
#4F51DF #954FDF #DD4FDF
triadic
#954FDF #DF954F #4FDF95
tetradic
#954FDF #DF4F51 #99DF4F #4FDFDD
square
#954FDF #DF4F51 #99DF4F #4FDFDD
split-complementary
#954FDF #DFDD4F #51DF4F
monochromatic
#581C98 #7625CC #954FDF #B483E8 #D3B7F2

Accessibility & contrast

On white

4.71
#954FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#954FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FDF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FDF#FFFFFF#000000##FFFFFF
##954FDF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#1973DC
Tritanopia (blue-blind)
#866F90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #954fdf;
/* rgb */ color: rgb(149, 79, 223);
/* oklch */ color: oklch(58.2% 0.211 302.6);
Tailwind
colors: {
  custom: {
    50: '#b984ea',
    500: '#954fdf',
    950: '#000000',
  },
}
SCSS
$custom: #954fdf;
$custom-light: #b984ea;
$custom-dark: #000000;
JSON
{
  "hex": "#954fdf",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 269.167,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.21078,
    "h": 302.6
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#954FDF
secondary
#C6E1A9
accent
#EC3C96
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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