#9754CF#9754CF

#9754CF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.187 H 306.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9754CF
RGBrgb(151, 84, 207)
HSLhsl(273, 56%, 57%)
HSVhsv(273, 59%, 81%)
CMYKcmyk(27.1%, 59.4%, 0%, 18.8%)
CIE-LABlab(48.79, 50.19, -53.12)
CIE-LCHlch(48.79, 73.08, 313.38°)
OKLaboklab(58% 0.1113 -0.1499)
OKLCHoklch(58% 0.187 306.6)
XYZxyz(27.1929, 17.4252, 60.9502)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754CF #8CCF54
analogous
#5A54CF #9754CF #CF54C9
triadic
#9754CF #CF9754 #54CF97
tetradic
#9754CF #CF5A54 #8CCF54 #54C9CF
square
#9754CF #CF5A54 #8CCF54 #54C9CF
split-complementary
#9754CF #C9CF54 #54CF5A
monochromatic
#592584 #7932B3 #9754CF #B484DC #D1B4EA

Accessibility & contrast

On white

4.68
#9754CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9754CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754CF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754CF#FFFFFF#000000##FFFFFF
##9754CF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D3
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#8E6C8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9754cf;
/* rgb */ color: rgb(151, 84, 207);
/* oklch */ color: oklch(58.0% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#b987de',
    500: '#9754cf',
    950: '#000000',
  },
}
SCSS
$custom: #9754cf;
$custom-light: #b987de;
$custom-dark: #000000;
JSON
{
  "hex": "#9754cf",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 272.683,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.18671,
    "h": 306.6
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#9754CF
secondary
#BDD8A6
accent
#DF488D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754CF

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

Preview Lab → · Contrast checker → · Palette generator →

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