#954FC2#954FC2

#954FC2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.179 H 309.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#954FC2
RGBrgb(149, 79, 194)
HSLhsl(277, 49%, 54%)
HSVhsv(277, 59%, 76%)
CMYKcmyk(23.2%, 59.3%, 0%, 23.9%)
CIE-LABlab(46.81, 49.30, -48.81)
CIE-LCHlch(46.81, 69.37, 315.29°)
OKLaboklab(56.26% 0.115 -0.1373)
OKLCHoklch(56.26% 0.179 309.9)
XYZxyz(24.9261, 15.8770, 52.7800)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FC2 #7CC24F
analogous
#5B4FC2 #954FC2 #C24FB5
triadic
#954FC2 #C2954F #4FC295
tetradic
#954FC2 #C25B4F #7CC24F #4FB5C2
square
#954FC2 #C25B4F #7CC24F #4FB5C2
split-complementary
#954FC2 #B5C24F #4FC25B
monochromatic
#532770 #75379D #954FC2 #B07CD2 #CCAAE2

Accessibility & contrast

On white

5.03
#954FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#954FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FC2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FC2#FFFFFF#000000##FFFFFF
##954FC21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#8F6581
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954fc2;
/* rgb */ color: rgb(149, 79, 194);
/* oklch */ color: oklch(56.3% 0.179 309.9);
Tailwind
colors: {
  custom: {
    50: '#b784d5',
    500: '#954fc2',
    950: '#000000',
  },
}
SCSS
$custom: #954fc2;
$custom-light: #b784d5;
$custom-dark: #000000;
JSON
{
  "hex": "#954fc2",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 276.522,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56255,
    "c": 0.17911,
    "h": 309.9
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#954FC2
secondary
#B1CF9E
accent
#D85085
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #954FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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