#9754DD#9754DD

#9754DD is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.202 H 303.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9754DD
RGBrgb(151, 84, 221)
HSLhsl(269, 67%, 60%)
HSVhsv(269, 62%, 87%)
CMYKcmyk(31.7%, 62%, 0%, 13.3%)
CIE-LABlab(49.67, 53.49, -59.70)
CIE-LCHlch(49.67, 80.16, 311.86°)
OKLaboklab(58.92% 0.1108 -0.1692)
OKLCHoklch(58.92% 0.202 303.2)
XYZxyz(28.9810, 18.1404, 70.3673)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754DD #9ADD54
analogous
#5456DD #9754DD #DB54DD
triadic
#9754DD #DD9754 #54DD97
tetradic
#9754DD #DD5456 #9ADD54 #54DDDB
square
#9754DD #DD5456 #9ADD54 #54DDDB
split-complementary
#9754DD #DDDB54 #56DD54
monochromatic
#5A1E98 #7828CB #9754DD #B687E7 #D5BAF1

Accessibility & contrast

On white

4.54
#9754DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9754DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754DD#FFFFFF#000000##000000
##9754DD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#8A7191
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9754dd;
/* rgb */ color: rgb(151, 84, 221);
/* oklch */ color: oklch(58.9% 0.202 303.2);
Tailwind
colors: {
  custom: {
    50: '#ba88e8',
    500: '#9754dd',
    950: '#000000',
  },
}
SCSS
$custom: #9754dd;
$custom-light: #ba88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9754dd",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 269.343,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58916,
    "c": 0.2023,
    "h": 303.2
  },
  "luminance": 0.1814
}

Semantic roles & 50–950 ramp

primary
#9754DD
secondary
#C7E1AC
accent
#EA3E96
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754DD

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

Preview Lab → · Contrast checker → · Palette generator →

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