#9768BF#9768BF

#9768BF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.2% C 0.136 H 307.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9768BF
RGBrgb(151, 104, 191)
HSLhsl(272, 40%, 58%)
HSVhsv(272, 46%, 75%)
CMYKcmyk(20.9%, 45.5%, 0%, 25.1%)
CIE-LABlab(52.11, 35.57, -38.66)
CIE-LCHlch(52.11, 52.54, 312.62°)
OKLaboklab(60.17% 0.0833 -0.1078)
OKLCHoklch(60.17% 0.136 307.7)
XYZxyz(27.1149, 20.2418, 51.7587)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768BF #90BF68
analogous
#6B68BF #9768BF #BF68BB
triadic
#9768BF #BF9768 #68BF97
tetradic
#9768BF #BF6B68 #90BF68 #68BBBF
square
#9768BF #BF6B68 #90BF68 #68BBBF
split-complementary
#9768BF #BBBF68 #68BF6B
monochromatic
#593379 #7946A4 #9768BF #B593D1 #D2BEE3

Accessibility & contrast

On white

4.16
#9768BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9768BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768BF#FFFFFF#000000##000000
##9768BF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#91768A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9768bf;
/* rgb */ color: rgb(151, 104, 191);
/* oklch */ color: oklch(60.2% 0.136 307.7);
Tailwind
colors: {
  custom: {
    50: '#b794d2',
    500: '#9768bf',
    950: '#000000',
  },
}
SCSS
$custom: #9768bf;
$custom-light: #b794d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9768bf",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 272.414,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60169,
    "c": 0.13625,
    "h": 307.7
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#9768BF
secondary
#C0D3B0
accent
#D0578F
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9768BF

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

Preview Lab → · Contrast checker → · Palette generator →

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