#9B68DC#9B68DC

#9B68DC is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.2% C 0.173 H 301.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9B68DC
RGBrgb(155, 104, 220)
HSLhsl(266, 62%, 64%)
HSVhsv(266, 53%, 86%)
CMYKcmyk(29.5%, 52.7%, 0%, 13.7%)
CIE-LABlab(54.07, 43.58, -52.05)
CIE-LCHlch(54.07, 67.89, 309.94°)
OKLaboklab(62.22% 0.0914 -0.1467)
OKLCHoklch(62.22% 0.173 301.9)
XYZxyz(31.3832, 22.0364, 70.2964)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B68DC #A9DC68
analogous
#686FDC #9B68DC #D568DC
triadic
#9B68DC #DC9B68 #68DC9B
tetradic
#9B68DC #DC686F #A9DC68 #68DCD5
square
#9B68DC #DC686F #A9DC68 #68DCD5
split-complementary
#9B68DC #DCD568 #6FDC68
monochromatic
#5D26A4 #7A36D0 #9B68DC #BC9AE8 #DDCBF3

Accessibility & contrast

On white

3.88
#9B68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9B68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B68DC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B68DC#FFFFFF#000000##000000
##9B68DC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80E0
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#8F7E98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9b68dc;
/* rgb */ color: rgb(155, 104, 220);
/* oklch */ color: oklch(62.2% 0.173 301.9);
Tailwind
colors: {
  custom: {
    50: '#bc95e7',
    500: '#9b68dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b68dc;
$custom-light: #bc95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b68dc",
  "rgb": {
    "r": 155,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 266.379,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.17286,
    "h": 301.9
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#9B68DC
secondary
#D2E4BB
accent
#CA1B7D
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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