#9754DB#9754DB

#9754DB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.200 H 303.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9754DB
RGBrgb(151, 84, 219)
HSLhsl(270, 65%, 59%)
HSVhsv(270, 62%, 86%)
CMYKcmyk(31.1%, 61.6%, 0%, 14.1%)
CIE-LABlab(49.54, 53.01, -58.77)
CIE-LCHlch(49.54, 79.15, 312.05°)
OKLaboklab(58.78% 0.1109 -0.1665)
OKLCHoklch(58.78% 0.2 303.7)
XYZxyz(28.7161, 18.0345, 68.9723)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754DB #98DB54
analogous
#5455DB #9754DB #DB54DB
triadic
#9754DB #DB9754 #54DB97
tetradic
#9754DB #DB5455 #98DB54 #54DBDB
square
#9754DB #DB5455 #98DB54 #54DBDB
split-complementary
#9754DB #DBDB54 #55DB54
monochromatic
#5A1F95 #782AC8 #9754DB #B687E6 #D4B9F0

Accessibility & contrast

On white

4.56
#9754DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9754DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754DB#FFFFFF#000000##000000
##9754DB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#8A7090
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9754db;
/* rgb */ color: rgb(151, 84, 219);
/* oklch */ color: oklch(58.8% 0.200 303.7);
Tailwind
colors: {
  custom: {
    50: '#ba87e7',
    500: '#9754db',
    950: '#000000',
  },
}
SCSS
$custom: #9754db;
$custom-light: #ba87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9754db",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 269.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.20008,
    "h": 303.7
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#9754DB
secondary
#C6E0AB
accent
#E84095
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754DB

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

Preview Lab → · Contrast checker → · Palette generator →

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