#9A6AF2#9A6AF2

#9A6AF2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.8% C 0.196 H 296.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9A6AF2
RGBrgb(154, 106, 242)
HSLhsl(261, 84%, 68%)
HSVhsv(261, 56%, 95%)
CMYKcmyk(36.4%, 56.2%, 0%, 5.1%)
CIE-LABlab(55.67, 47.74, -61.82)
CIE-LCHlch(55.67, 78.11, 307.68°)
OKLaboklab(63.8% 0.0883 -0.1754)
OKLCHoklch(63.8% 0.196 296.7)
XYZxyz(34.5034, 23.5883, 86.7224)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6AF2 #C2F26A
analogous
#6A7EF2 #9A6AF2 #DE6AF2
triadic
#9A6AF2 #F29A6A #6AF29A
tetradic
#9A6AF2 #F26A7E #C2F26A #6AF2DE
square
#9A6AF2 #F26A7E #C2F26A #6AF2DE
split-complementary
#9A6AF2 #F2DE6A #7EF26A
monochromatic
#5512CF #7432ED #9A6AF2 #C0A2F7 #E6DBFC

Accessibility & contrast

On white

3.67
#9A6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9A6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6AF2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6AF2#FFFFFF#000000##000000
##9A6AF21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F7
Deuteranopia (green-blind)
#3984EF
Tritanopia (blue-blind)
#8586A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a6af2;
/* rgb */ color: rgb(154, 106, 242);
/* oklch */ color: oklch(63.8% 0.196 296.7);
Tailwind
colors: {
  custom: {
    50: '#bc96f7',
    500: '#9a6af2',
    950: '#000000',
  },
}
SCSS
$custom: #9a6af2;
$custom-light: #bc96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6af2",
  "rgb": {
    "r": 154,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 261.176,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63796,
    "c": 0.19639,
    "h": 296.7
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#9A6AF2
secondary
#E2F1C7
accent
#E00593
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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