#9759D2#9759D2

#9759D2 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.183 H 305.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9759D2
RGBrgb(151, 89, 210)
HSLhsl(271, 57%, 59%)
HSVhsv(271, 58%, 82%)
CMYKcmyk(28.1%, 57.6%, 0%, 17.6%)
CIE-LABlab(49.95, 48.28, -52.98)
CIE-LCHlch(49.95, 71.68, 312.35°)
OKLaboklab(58.91% 0.1051 -0.1495)
OKLCHoklch(58.91% 0.183 305.1)
XYZxyz(27.9652, 18.3774, 63.0342)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9759D2 #94D259
analogous
#5A59D2 #9759D2 #D259D0
triadic
#9759D2 #D29759 #59D297
tetradic
#9759D2 #D25A59 #94D259 #59D0D2
square
#9759D2 #D25A59 #94D259 #59D0D2
split-complementary
#9759D2 #D0D259 #59D25A
monochromatic
#5A268B #7933BB #9759D2 #B589DF #D3B9EC

Accessibility & contrast

On white

4.49
#9759D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9759D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9759D2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9759D2#FFFFFF#000000##000000
##9759D21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#8D718D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9759d2;
/* rgb */ color: rgb(151, 89, 210);
/* oklch */ color: oklch(58.9% 0.183 305.1);
Tailwind
colors: {
  custom: {
    50: '#b98ae0',
    500: '#9759d2',
    950: '#000000',
  },
}
SCSS
$custom: #9759d2;
$custom-light: #b98ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9759d2",
  "rgb": {
    "r": 151,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 270.744,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.18275,
    "h": 305.1
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#9759D2
secondary
#C3DBAB
accent
#E14792
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9759D2

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

Preview Lab → · Contrast checker → · Palette generator →

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