#954ABC#954ABC

#954ABC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.180 H 312.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#954ABC
RGBrgb(149, 74, 188)
HSLhsl(279, 46%, 51%)
HSVhsv(279, 61%, 74%)
CMYKcmyk(20.7%, 60.6%, 0%, 26.3%)
CIE-LABlab(45.52, 50.49, -47.39)
CIE-LCHlch(45.52, 69.24, 316.82°)
OKLaboklab(55.2% 0.1212 -0.1331)
OKLCHoklch(55.2% 0.18 312.3)
XYZxyz(23.9187, 14.9186, 49.1868)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ABC #71BC4A
analogous
#5C4ABC #954ABC #BC4AAA
triadic
#954ABC #BC954A #4ABC95
tetradic
#954ABC #BC5C4A #71BC4A #4AAABC
square
#954ABC #BC5C4A #71BC4A #4AAABC
split-complementary
#954ABC #AABC4A #4ABC5C
monochromatic
#502666 #733693 #954ABC #AF77CD #C9A3DD

Accessibility & contrast

On white

5.27
#954ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#954ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ABC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ABC#FFFFFF#000000##FFFFFF
##954ABC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#915F7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #954abc;
/* rgb */ color: rgb(149, 74, 188);
/* oklch */ color: oklch(55.2% 0.180 312.3);
Tailwind
colors: {
  custom: {
    50: '#b781d1',
    500: '#954abc',
    950: '#000000',
  },
}
SCSS
$custom: #954abc;
$custom-light: #b781d1;
$custom-dark: #000000;
JSON
{
  "hex": "#954abc",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 279.474,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.18007,
    "h": 312.3
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#954ABC
secondary
#A9CA98
accent
#D6527F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #954ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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