#9759DC#9759DC

#9759DC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.194 H 302.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9759DC
RGBrgb(151, 89, 220)
HSLhsl(268, 65%, 61%)
HSVhsv(268, 60%, 86%)
CMYKcmyk(31.4%, 59.5%, 0%, 13.7%)
CIE-LABlab(50.56, 50.68, -57.69)
CIE-LCHlch(50.56, 76.79, 311.30°)
OKLaboklab(59.55% 0.105 -0.1634)
OKLCHoklch(59.55% 0.194 302.7)
XYZxyz(29.2502, 18.8914, 69.8017)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9759DC #9EDC59
analogous
#595CDC #9759DC #D859DC
triadic
#9759DC #DC9759 #59DC97
tetradic
#9759DC #DC595C #9EDC59 #59DCD8
square
#9759DC #DC595C #9EDC59 #59DCD8
split-complementary
#9759DC #DCD859 #5CDC59
monochromatic
#5A209A #782BCD #9759DC #B78CE7 #D6BEF1

Accessibility & contrast

On white

4.39
#9759DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9759DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9759DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9759DC#FFFFFF#000000##000000
##9759DC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177E0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#8A7492
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9759dc;
/* rgb */ color: rgb(151, 89, 220);
/* oklch */ color: oklch(59.5% 0.194 302.7);
Tailwind
colors: {
  custom: {
    50: '#ba8be8',
    500: '#9759dc',
    950: '#000000',
  },
}
SCSS
$custom: #9759dc;
$custom-light: #ba8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9759dc",
  "rgb": {
    "r": 151,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 268.397,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.19419,
    "h": 302.7
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#9759DC
secondary
#CAE1AF
accent
#CD1878
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9759DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9759DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva