#9B68E6#9B68E6

#9B68E6 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.8% C 0.185 H 299.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9B68E6
RGBrgb(155, 104, 230)
HSLhsl(264, 72%, 65%)
HSVhsv(264, 55%, 90%)
CMYKcmyk(32.6%, 54.8%, 0%, 9.8%)
CIE-LABlab(54.64, 46.04, -56.76)
CIE-LCHlch(54.64, 73.09, 309.05°)
OKLaboklab(62.83% 0.0918 -0.1605)
OKLCHoklch(62.83% 0.185 299.8)
XYZxyz(32.7474, 22.5821, 77.4811)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B68E6 #B3E668
analogous
#6874E6 #9B68E6 #DA68E6
triadic
#9B68E6 #E69B68 #68E69B
tetradic
#9B68E6 #E66874 #B3E668 #68E6DA
square
#9B68E6 #E66874 #B3E668 #68E6DA
split-complementary
#9B68E6 #E6DA68 #74E668
monochromatic
#5B1EB6 #7833DD #9B68E6 #BE9DEF #E1D1F7

Accessibility & contrast

On white

3.81
#9B68E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9B68E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B68E6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B68E6#FFFFFF#000000##000000
##9B68E61.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382EA
Deuteranopia (green-blind)
#4582E3
Tritanopia (blue-blind)
#8B819D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9b68e6;
/* rgb */ color: rgb(155, 104, 230);
/* oklch */ color: oklch(62.8% 0.185 299.8);
Tailwind
colors: {
  custom: {
    50: '#bc95ee',
    500: '#9b68e6',
    950: '#000000',
  },
}
SCSS
$custom: #9b68e6;
$custom-light: #bc95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b68e6",
  "rgb": {
    "r": 155,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 264.286,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62828,
    "c": 0.18493,
    "h": 299.8
  },
  "luminance": 0.22582
}

Semantic roles & 50–950 ramp

primary
#9B68E6
secondary
#D9EAC0
accent
#D41285
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B68E6

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

Preview Lab → · Contrast checker → · Palette generator →

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