#9756DF#9756DF

#9756DF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.202 H 302.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9756DF
RGBrgb(151, 86, 223)
HSLhsl(268, 68%, 61%)
HSVhsv(268, 61%, 87%)
CMYKcmyk(32.3%, 61.4%, 0%, 12.5%)
CIE-LABlab(50.17, 52.95, -60.02)
CIE-LCHlch(50.17, 80.04, 311.42°)
OKLaboklab(59.32% 0.1084 -0.1702)
OKLCHoklch(59.32% 0.202 302.5)
XYZxyz(29.4065, 18.5626, 71.8314)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756DF #9EDF56
analogous
#5659DF #9756DF #DB56DF
triadic
#9756DF #DF9756 #56DF97
tetradic
#9756DF #DF5659 #9EDF56 #56DFDB
square
#9756DF #DF5659 #9EDF56 #56DFDB
split-complementary
#9756DF #DFDB56 #59DF56
monochromatic
#5A1E9D #7827D0 #9756DF #B789E9 #D6BDF2

Accessibility & contrast

On white

4.46
#9756DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9756DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9756DF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756DF#FFFFFF#000000##000000
##9756DF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2C77DC
Tritanopia (blue-blind)
#897393
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9756df;
/* rgb */ color: rgb(151, 86, 223);
/* oklch */ color: oklch(59.3% 0.202 302.5);
Tailwind
colors: {
  custom: {
    50: '#ba89ea',
    500: '#9756df',
    950: '#000000',
  },
}
SCSS
$custom: #9756df;
$custom-light: #ba89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9756df",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 268.467,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.20178,
    "h": 302.5
  },
  "luminance": 0.18563
}

Semantic roles & 50–950 ramp

primary
#9756DF
secondary
#CAE2AE
accent
#D01578
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9756DF

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

Preview Lab → · Contrast checker → · Palette generator →

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