#954ACF#954ACF

#954ACF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.200 H 307.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#954ACF
RGBrgb(149, 74, 207)
HSLhsl(274, 58%, 55%)
HSVhsv(274, 64%, 81%)
CMYKcmyk(28%, 64.3%, 0%, 18.8%)
CIE-LABlab(46.70, 54.74, -56.49)
CIE-LCHlch(46.70, 78.66, 314.10°)
OKLaboklab(56.43% 0.1206 -0.1598)
OKLCHoklch(56.43% 0.2 307)
XYZxyz(26.1033, 15.7924, 60.6925)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ACF #84CF4A
analogous
#534ACF #954ACF #CF4AC6
triadic
#954ACF #CF954A #4ACF95
tetradic
#954ACF #CF534A #84CF4A #4AC6CF
square
#954ACF #CF534A #84CF4A #4AC6CF
split-complementary
#954ACF #C6CF4A #4ACF53
monochromatic
#55217D #762EAE #954ACF #B17ADC #CEABE9

Accessibility & contrast

On white

5.05
#954ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#954ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ACF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ACF#FFFFFF#000000##FFFFFF
##954ACF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#2E6FCC
Tritanopia (blue-blind)
#8C6686
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954acf;
/* rgb */ color: rgb(149, 74, 207);
/* oklch */ color: oklch(56.4% 0.200 307.0);
Tailwind
colors: {
  custom: {
    50: '#b881de',
    500: '#954acf',
    950: '#000000',
  },
}
SCSS
$custom: #954acf;
$custom-light: #b881de;
$custom-dark: #000000;
JSON
{
  "hex": "#954acf",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 273.835,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.20023,
    "h": 307
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#954ACF
secondary
#B7D69F
accent
#E1468A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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