#9754DC#9754DC

#9754DC is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.201 H 303.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9754DC
RGBrgb(151, 84, 220)
HSLhsl(270, 66%, 60%)
HSVhsv(270, 62%, 86%)
CMYKcmyk(31.4%, 61.8%, 0%, 13.7%)
CIE-LABlab(49.60, 53.25, -59.23)
CIE-LCHlch(49.60, 79.65, 311.96°)
OKLaboklab(58.85% 0.1109 -0.1679)
OKLCHoklch(58.85% 0.201 303.4)
XYZxyz(28.8482, 18.0873, 69.6677)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754DC #99DC54
analogous
#5455DC #9754DC #DB54DC
triadic
#9754DC #DC9754 #54DC97
tetradic
#9754DC #DC5455 #99DC54 #54DCDB
square
#9754DC #DC5455 #99DC54 #54DCDB
split-complementary
#9754DC #DCDB54 #55DC54
monochromatic
#5A1F97 #7829CA #9754DC #B687E6 #D5BAF1

Accessibility & contrast

On white

4.55
#9754DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9754DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754DC#FFFFFF#000000##000000
##9754DC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#8A7190
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9754dc;
/* rgb */ color: rgb(151, 84, 220);
/* oklch */ color: oklch(58.8% 0.201 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba87e8',
    500: '#9754dc',
    950: '#000000',
  },
}
SCSS
$custom: #9754dc;
$custom-light: #ba87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9754dc",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 269.559,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.20118,
    "h": 303.4
  },
  "luminance": 0.18087
}

Semantic roles & 50–950 ramp

primary
#9754DC
secondary
#C6E0AC
accent
#E93F95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754DC

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

Preview Lab → · Contrast checker → · Palette generator →

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