#9951DB#9951DB

#9951DB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.205 H 304.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9951DB
RGBrgb(153, 81, 219)
HSLhsl(271, 66%, 59%)
HSVhsv(271, 63%, 86%)
CMYKcmyk(30.1%, 63%, 0%, 14.1%)
CIE-LABlab(49.22, 54.96, -59.27)
CIE-LCHlch(49.22, 80.83, 312.84°)
OKLaboklab(58.6% 0.117 -0.1679)
OKLCHoklch(58.6% 0.205 304.9)
XYZxyz(28.8627, 17.7718, 68.9139)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951DB #93DB51
analogous
#5451DB #9951DB #DB51D8
triadic
#9951DB #DB9951 #51DB99
tetradic
#9951DB #DB5451 #93DB51 #51D8DB
square
#9951DB #DB5451 #93DB51 #51D8DB
split-complementary
#9951DB #D8DB51 #51DB54
monochromatic
#5B1E93 #7B29C6 #9951DB #B784E5 #D4B6F0

Accessibility & contrast

On white

4.61
#9951DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9951DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9951DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951DB#FFFFFF#000000##FFFFFF
##9951DB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#8D6E8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9951db;
/* rgb */ color: rgb(153, 81, 219);
/* oklch */ color: oklch(58.6% 0.205 304.9);
Tailwind
colors: {
  custom: {
    50: '#bb86e7',
    500: '#9951db',
    950: '#000000',
  },
}
SCSS
$custom: #9951db;
$custom-light: #bb86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9951db",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 271.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.20465,
    "h": 304.9
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#9951DB
secondary
#C3DFA9
accent
#E93F90
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9951DB

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

Preview Lab → · Contrast checker → · Palette generator →

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