#9768BE#9768BE

#9768BE is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.1% C 0.135 H 308.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9768BE
RGBrgb(151, 104, 190)
HSLhsl(273, 40%, 58%)
HSVhsv(273, 45%, 75%)
CMYKcmyk(20.5%, 45.3%, 0%, 25.5%)
CIE-LABlab(52.06, 35.34, -38.16)
CIE-LCHlch(52.06, 52.01, 312.80°)
OKLaboklab(60.12% 0.0832 -0.1063)
OKLCHoklch(60.12% 0.135 308)
XYZxyz(27.0053, 20.1980, 51.1812)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768BE #8FBE68
analogous
#6C68BE #9768BE #BE68BA
triadic
#9768BE #BE9768 #68BE97
tetradic
#9768BE #BE6C68 #8FBE68 #68BABE
square
#9768BE #BE6C68 #8FBE68 #68BABE
split-complementary
#9768BE #BABE68 #68BE6C
monochromatic
#593478 #7946A3 #9768BE #B493D0 #D2BEE3

Accessibility & contrast

On white

4.17
#9768BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9768BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768BE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768BE#FFFFFF#000000##000000
##9768BE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#92768A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9768be;
/* rgb */ color: rgb(151, 104, 190);
/* oklch */ color: oklch(60.1% 0.135 308.0);
Tailwind
colors: {
  custom: {
    50: '#b794d2',
    500: '#9768be',
    950: '#000000',
  },
}
SCSS
$custom: #9768be;
$custom-light: #b794d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9768be",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 190
  },
  "hsl": {
    "h": 272.791,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.13501,
    "h": 308
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#9768BE
secondary
#BFD2B0
accent
#D0588E
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9768BE

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

Preview Lab → · Contrast checker → · Palette generator →

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