#9768CE#9768CE

#9768CE is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.155 H 303.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9768CE
RGBrgb(151, 104, 206)
HSLhsl(268, 51%, 61%)
HSVhsv(268, 50%, 81%)
CMYKcmyk(26.7%, 49.5%, 0%, 19.2%)
CIE-LABlab(52.88, 39.13, -46.03)
CIE-LCHlch(52.88, 60.42, 310.37°)
OKLaboklab(61% 0.0852 -0.1292)
OKLCHoklch(61% 0.155 303.4)
XYZxyz(28.8509, 20.9362, 60.9017)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768CE #9FCE68
analogous
#686CCE #9768CE #CA68CE
triadic
#9768CE #CE9768 #68CE97
tetradic
#9768CE #CE686C #9FCE68 #68CECA
square
#9768CE #CE686C #9FCE68 #68CECA
split-complementary
#9768CE #CECA68 #6CCE68
monochromatic
#5A2E8E #773DBC #9768CE #B796DD #D7C4EC

Accessibility & contrast

On white

4.05
#9768CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9768CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768CE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768CE#FFFFFF#000000##000000
##9768CE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#8D7A91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9768ce;
/* rgb */ color: rgb(151, 104, 206);
/* oklch */ color: oklch(61.0% 0.155 303.4);
Tailwind
colors: {
  custom: {
    50: '#b894dd',
    500: '#9768ce',
    950: '#000000',
  },
}
SCSS
$custom: #9768ce;
$custom-light: #b894dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9768ce",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 206
  },
  "hsl": {
    "h": 267.647,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.15481,
    "h": 303.4
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#9768CE
secondary
#CADCB6
accent
#BE2779
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9768CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9768CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva