#9768D3#9768D3

#9768D3 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.3% C 0.161 H 302.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9768D3
RGBrgb(151, 104, 211)
HSLhsl(266, 55%, 62%)
HSVhsv(266, 51%, 83%)
CMYKcmyk(28.4%, 50.7%, 0%, 17.3%)
CIE-LABlab(53.15, 40.35, -48.44)
CIE-LCHlch(53.15, 63.05, 309.79°)
OKLaboklab(61.28% 0.0857 -0.1363)
OKLCHoklch(61.28% 0.161 302.2)
XYZxyz(29.4680, 21.1831, 64.1517)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768D3 #A4D368
analogous
#686FD3 #9768D3 #CD68D3
triadic
#9768D3 #D39768 #68D397
tetradic
#9768D3 #D3686F #A4D368 #68D3CD
square
#9768D3 #D3686F #A4D368 #68D3CD
split-complementary
#9768D3 #D3CD68 #6FD368
monochromatic
#5A2B95 #7639C5 #9768D3 #B897E1 #D8C7EF

Accessibility & contrast

On white

4.01
#9768D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9768D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768D3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768D3#FFFFFF#000000##000000
##9768D31.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED7
Deuteranopia (green-blind)
#527FD0
Tritanopia (blue-blind)
#8C7C94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9768d3;
/* rgb */ color: rgb(151, 104, 211);
/* oklch */ color: oklch(61.3% 0.161 302.2);
Tailwind
colors: {
  custom: {
    50: '#b894e1',
    500: '#9768d3',
    950: '#000000',
  },
}
SCSS
$custom: #9768d3;
$custom-light: #b894e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9768d3",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 211
  },
  "hsl": {
    "h": 266.355,
    "s": 54.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.161,
    "h": 302.2
  },
  "luminance": 0.21183
}

Semantic roles & 50–950 ramp

primary
#9768D3
secondary
#CEDFB8
accent
#C2237C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9768D3

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

Preview Lab → · Contrast checker → · Palette generator →

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