#9B68BB#9B68BB

#9B68BB is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.4% C 0.133 H 311.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9B68BB
RGBrgb(155, 104, 187)
HSLhsl(277, 38%, 57%)
HSVhsv(277, 44%, 73%)
CMYKcmyk(17.1%, 44.4%, 0%, 26.7%)
CIE-LABlab(52.35, 35.83, -35.95)
CIE-LCHlch(52.35, 50.75, 314.91°)
OKLaboklab(60.39% 0.0876 -0.0998)
OKLCHoklch(60.39% 0.133 311.3)
XYZxyz(27.4359, 20.4575, 49.5075)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B68BB #88BB68
analogous
#7168BB #9B68BB #BB68B2
triadic
#9B68BB #BB9B68 #68BB9B
tetradic
#9B68BB #BB7168 #88BB68 #68B2BB
square
#9B68BB #BB7168 #88BB68 #68B2BB
split-complementary
#9B68BB #B2BB68 #68BB71
monochromatic
#5C3474 #7D479E #9B68BB #B792CE #D3BCE1

Accessibility & contrast

On white

4.12
#9B68BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9B68BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B68BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B68BB#FFFFFF#000000##000000
##9B68BB1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#987589
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b68bb;
/* rgb */ color: rgb(155, 104, 187);
/* oklch */ color: oklch(60.4% 0.133 311.3);
Tailwind
colors: {
  custom: {
    50: '#ba94d0',
    500: '#9b68bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b68bb;
$custom-light: #ba94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b68bb",
  "rgb": {
    "r": 155,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 276.867,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.13284,
    "h": 311.3
  },
  "luminance": 0.20457
}

Semantic roles & 50–950 ramp

primary
#9B68BB
secondary
#BCD0AF
accent
#CE5A87
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9B68BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9B68BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva