#9754CD#9754CD

#9754CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.184 H 307.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9754CD
RGBrgb(151, 84, 205)
HSLhsl(273, 55%, 57%)
HSVhsv(273, 59%, 80%)
CMYKcmyk(26.3%, 59%, 0%, 19.6%)
CIE-LABlab(48.67, 49.73, -52.17)
CIE-LCHlch(48.67, 72.07, 313.63°)
OKLaboklab(57.87% 0.1113 -0.1471)
OKLCHoklch(57.87% 0.184 307.1)
XYZxyz(26.9500, 17.3280, 59.6707)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754CD #8ACD54
analogous
#5B54CD #9754CD #CD54C7
triadic
#9754CD #CD9754 #54CD97
tetradic
#9754CD #CD5B54 #8ACD54 #54C7CD
square
#9754CD #CD5B54 #8ACD54 #54C7CD
split-complementary
#9754CD #C7CD54 #54CD5B
monochromatic
#582681 #7934B0 #9754CD #B483DB #D1B3E9

Accessibility & contrast

On white

4.70
#9754CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9754CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754CD#FFFFFF#000000##FFFFFF
##9754CD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#8F6B89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9754cd;
/* rgb */ color: rgb(151, 84, 205);
/* oklch */ color: oklch(57.9% 0.184 307.1);
Tailwind
colors: {
  custom: {
    50: '#b987dd',
    500: '#9754cd',
    950: '#000000',
  },
}
SCSS
$custom: #9754cd;
$custom-light: #b987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9754cd",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 273.223,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.18447,
    "h": 307.1
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#9754CD
secondary
#BCD7A6
accent
#DE4A8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754CD

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

Preview Lab → · Contrast checker → · Palette generator →

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