#9754D2#9754D2

#9754D2 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.190 H 305.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9754D2
RGBrgb(151, 84, 210)
HSLhsl(272, 58%, 58%)
HSVhsv(272, 60%, 82%)
CMYKcmyk(28.1%, 60%, 0%, 17.6%)
CIE-LABlab(48.97, 50.89, -54.54)
CIE-LCHlch(48.97, 74.60, 313.02°)
OKLaboklab(58.19% 0.1112 -0.1541)
OKLCHoklch(58.19% 0.19 305.8)
XYZxyz(27.5632, 17.5733, 62.9002)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754D2 #8FD254
analogous
#5854D2 #9754D2 #D254CE
triadic
#9754D2 #D29754 #54D297
tetradic
#9754D2 #D25854 #8FD254 #54CED2
square
#9754D2 #D25854 #8FD254 #54CED2
split-complementary
#9754D2 #CED254 #54D258
monochromatic
#592488 #7931B8 #9754D2 #B484DF #D2B5EB

Accessibility & contrast

On white

4.65
#9754D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9754D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9754D2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754D2#FFFFFF#000000##FFFFFF
##9754D21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1772D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#8D6D8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9754d2;
/* rgb */ color: rgb(151, 84, 210);
/* oklch */ color: oklch(58.2% 0.190 305.8);
Tailwind
colors: {
  custom: {
    50: '#b987e0',
    500: '#9754d2',
    950: '#000000',
  },
}
SCSS
$custom: #9754d2;
$custom-light: #b987e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9754d2",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 271.905,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.19005,
    "h": 305.8
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#9754D2
secondary
#BFDAA8
accent
#E2468F
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754D2

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

Preview Lab → · Contrast checker → · Palette generator →

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