#9A6BCF#9A6BCF

#9A6BCF is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.9% C 0.152 H 304.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9A6BCF
RGBrgb(154, 107, 207)
HSLhsl(268, 51%, 62%)
HSVhsv(268, 48%, 81%)
CMYKcmyk(25.6%, 48.3%, 0%, 18.8%)
CIE-LABlab(53.91, 38.50, -44.94)
CIE-LCHlch(53.91, 59.18, 310.59°)
OKLaboklab(61.85% 0.085 -0.126)
OKLCHoklch(61.85% 0.152 304)
XYZxyz(29.8442, 21.8905, 61.6724)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6BCF #A0CF6B
analogous
#6B6ECF #9A6BCF #CC6BCF
triadic
#9A6BCF #CF9A6B #6BCF9A
tetradic
#9A6BCF #CF6B6E #A0CF6B #6BCFCC
square
#9A6BCF #CF6B6E #A0CF6B #6BCFCC
split-complementary
#9A6BCF #CFCC6B #6ECF6B
monochromatic
#5D2F91 #7B3EBF #9A6BCF #BA99DE #D9C7ED

Accessibility & contrast

On white

3.90
#9A6BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9A6BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6BCF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6BCF#FFFFFF#000000##000000
##9A6BCF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#5A81CC
Tritanopia (blue-blind)
#917D93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9a6bcf;
/* rgb */ color: rgb(154, 107, 207);
/* oklch */ color: oklch(61.9% 0.152 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba96de',
    500: '#9a6bcf',
    950: '#000000',
  },
}
SCSS
$custom: #9a6bcf;
$custom-light: #ba96de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6bcf",
  "rgb": {
    "r": 154,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 268.2,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.15198,
    "h": 304
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#9A6BCF
secondary
#CCDEB8
accent
#BE2777
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9A6BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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