#9768CF#9768CF

#9768CF is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.1% C 0.156 H 303.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9768CF
RGBrgb(151, 104, 207)
HSLhsl(267, 52%, 61%)
HSVhsv(267, 50%, 81%)
CMYKcmyk(27.1%, 49.8%, 0%, 18.8%)
CIE-LABlab(52.93, 39.38, -46.51)
CIE-LCHlch(52.93, 60.94, 310.25°)
OKLaboklab(61.05% 0.0853 -0.1306)
OKLCHoklch(61.05% 0.156 303.2)
XYZxyz(28.9728, 20.9850, 61.5435)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768CF #A0CF68
analogous
#686CCF #9768CF #CB68CF
triadic
#9768CF #CF9768 #68CF97
tetradic
#9768CF #CF686C #A0CF68 #68CFCB
square
#9768CF #CF686C #A0CF68 #68CFCB
split-complementary
#9768CF #CFCB68 #6CCF68
monochromatic
#5A2D8F #773CBE #9768CF #B796DE #D7C5ED

Accessibility & contrast

On white

4.04
#9768CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9768CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768CF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768CF#FFFFFF#000000##000000
##9768CF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#8D7B92
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9768cf;
/* rgb */ color: rgb(151, 104, 207);
/* oklch */ color: oklch(61.1% 0.156 303.2);
Tailwind
colors: {
  custom: {
    50: '#b894de',
    500: '#9768cf',
    950: '#000000',
  },
}
SCSS
$custom: #9768cf;
$custom-light: #b894de;
$custom-dark: #000000;
JSON
{
  "hex": "#9768cf",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 267.379,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.15605,
    "h": 303.2
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#9768CF
secondary
#CBDDB6
accent
#BF2679
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9768CF

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

Preview Lab → · Contrast checker → · Palette generator →

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