#9754DF#9754DF

#9754DF is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.205 H 302.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9754DF
RGBrgb(151, 84, 223)
HSLhsl(269, 68%, 60%)
HSVhsv(269, 62%, 87%)
CMYKcmyk(32.3%, 62.3%, 0%, 12.5%)
CIE-LABlab(49.80, 53.97, -60.62)
CIE-LCHlch(49.80, 81.17, 311.68°)
OKLaboklab(59.05% 0.1107 -0.172)
OKLCHoklch(59.05% 0.205 302.8)
XYZxyz(29.2490, 18.2477, 71.7790)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754DF #9CDF54
analogous
#5456DF #9754DF #DD54DF
triadic
#9754DF #DF9754 #54DF97
tetradic
#9754DF #DF5456 #9CDF54 #54DFDD
square
#9754DF #DF5456 #9CDF54 #54DFDD
split-complementary
#9754DF #DFDD54 #56DF54
monochromatic
#5A1D9C #7827CF #9754DF #B688E9 #D6BBF2

Accessibility & contrast

On white

4.52
#9754DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9754DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754DF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754DF#FFFFFF#000000##000000
##9754DF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#2976DC
Tritanopia (blue-blind)
#897292
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9754df;
/* rgb */ color: rgb(151, 84, 223);
/* oklch */ color: oklch(59.1% 0.205 302.8);
Tailwind
colors: {
  custom: {
    50: '#ba88ea',
    500: '#9754df',
    950: '#000000',
  },
}
SCSS
$custom: #9754df;
$custom-light: #ba88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9754df",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 268.921,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59051,
    "c": 0.20452,
    "h": 302.8
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#9754DF
secondary
#C8E2AD
accent
#D01576
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754DF

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

Preview Lab → · Contrast checker → · Palette generator →

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