#9756CA#9756CA

#9756CA is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.178 H 307.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9756CA
RGBrgb(151, 86, 202)
HSLhsl(274, 52%, 56%)
HSVhsv(274, 57%, 79%)
CMYKcmyk(25.2%, 57.4%, 0%, 20.8%)
CIE-LABlab(48.88, 47.99, -50.10)
CIE-LCHlch(48.88, 69.38, 313.77°)
OKLaboklab(57.97% 0.1087 -0.1411)
OKLCHoklch(57.97% 0.178 307.6)
XYZxyz(26.7488, 17.4995, 57.8343)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9756CA #89CA56
analogous
#5D56CA #9756CA #CA56C3
triadic
#9756CA #CA9756 #56CA97
tetradic
#9756CA #CA5D56 #89CA56 #56C3CA
square
#9756CA #CA5D56 #89CA56 #56C3CA
split-complementary
#9756CA #C3CA56 #56CA5D
monochromatic
#58287E #7936AD #9756CA #B485D9 #D0B3E7

Accessibility & contrast

On white

4.67
#9756CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9756CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9756CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9756CA#FFFFFF#000000##FFFFFF
##9756CA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#8F6C88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9756ca;
/* rgb */ color: rgb(151, 86, 202);
/* oklch */ color: oklch(58.0% 0.178 307.6);
Tailwind
colors: {
  custom: {
    50: '#b988db',
    500: '#9756ca',
    950: '#000000',
  },
}
SCSS
$custom: #9756ca;
$custom-light: #b988db;
$custom-dark: #000000;
JSON
{
  "hex": "#9756ca",
  "rgb": {
    "r": 151,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 273.621,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.17813,
    "h": 307.6
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#9756CA
secondary
#BBD6A6
accent
#DC4C8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9756CA

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

Preview Lab → · Contrast checker → · Palette generator →

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