#9951CF#9951CF

#9951CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.192 H 307.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9951CF
RGBrgb(153, 81, 207)
HSLhsl(274, 57%, 56%)
HSVhsv(274, 61%, 81%)
CMYKcmyk(26.1%, 60.9%, 0%, 18.8%)
CIE-LABlab(48.46, 52.19, -53.63)
CIE-LCHlch(48.46, 74.84, 314.22°)
OKLaboklab(57.82% 0.1175 -0.1514)
OKLCHoklch(57.82% 0.192 307.8)
XYZxyz(27.3395, 17.1625, 60.8918)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951CF #87CF51
analogous
#5A51CF #9951CF #CF51C6
triadic
#9951CF #CF9951 #51CF99
tetradic
#9951CF #CF5A51 #87CF51 #51C6CF
square
#9951CF #CF5A51 #87CF51 #51C6CF
split-complementary
#9951CF #C6CF51 #51CF5A
monochromatic
#5A2482 #7B31B2 #9951CF #B581DC #D1B1E9

Accessibility & contrast

On white

4.74
#9951CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9951CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9951CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951CF#FFFFFF#000000##FFFFFF
##9951CF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#916A88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9951cf;
/* rgb */ color: rgb(153, 81, 207);
/* oklch */ color: oklch(57.8% 0.192 307.8);
Tailwind
colors: {
  custom: {
    50: '#bb85de',
    500: '#9951cf',
    950: '#000000',
  },
}
SCSS
$custom: #9951cf;
$custom-light: #bb85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9951cf",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 274.286,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.19161,
    "h": 307.8
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#9951CF
secondary
#BAD8A4
accent
#E04889
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9951CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9951CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva