#9768CA#9768CA

#9768CA is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.8% C 0.150 H 304.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9768CA
RGBrgb(151, 104, 202)
HSLhsl(269, 48%, 60%)
HSVhsv(269, 49%, 79%)
CMYKcmyk(25.2%, 48.5%, 0%, 20.8%)
CIE-LABlab(52.67, 38.17, -44.08)
CIE-LCHlch(52.67, 58.31, 310.89°)
OKLaboklab(60.77% 0.0848 -0.1235)
OKLCHoklch(60.77% 0.15 304.5)
XYZxyz(28.3712, 20.7443, 58.3751)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768CA #9BCA68
analogous
#686ACA #9768CA #C868CA
triadic
#9768CA #CA9768 #68CA97
tetradic
#9768CA #CA686A #9BCA68 #68CAC8
square
#9768CA #CA686A #9BCA68 #68CAC8
split-complementary
#9768CA #CAC868 #6ACA68
monochromatic
#5A3088 #7840B5 #9768CA #B695DA #D5C3EA

Accessibility & contrast

On white

4.08
#9768CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9768CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768CA#FFFFFF#000000##000000
##9768CA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#8E798F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9768ca;
/* rgb */ color: rgb(151, 104, 202);
/* oklch */ color: oklch(60.8% 0.150 304.5);
Tailwind
colors: {
  custom: {
    50: '#b894da',
    500: '#9768ca',
    950: '#000000',
  },
}
SCSS
$custom: #9768ca;
$custom-light: #b894da;
$custom-dark: #000000;
JSON
{
  "hex": "#9768ca",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 268.776,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.14985,
    "h": 304.5
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#9768CA
secondary
#C8DAB4
accent
#D85097
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9768CA

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

Preview Lab → · Contrast checker → · Palette generator →

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