#9A6EF2#9A6EF2

#9A6EF2 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.191 H 296.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9A6EF2
RGBrgb(154, 110, 242)
HSLhsl(260, 84%, 69%)
HSVhsv(260, 55%, 95%)
CMYKcmyk(36.4%, 54.5%, 0%, 5.1%)
CIE-LABlab(56.52, 45.55, -60.46)
CIE-LCHlch(56.52, 75.70, 306.99°)
OKLaboklab(64.42% 0.0835 -0.1714)
OKLCHoklch(64.42% 0.191 296)
XYZxyz(34.9253, 24.4321, 86.8630)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6EF2 #C6F26E
analogous
#6E84F2 #9A6EF2 #DC6EF2
triadic
#9A6EF2 #F29A6E #6EF29A
tetradic
#9A6EF2 #F26E84 #C6F26E #6EF2DC
square
#9A6EF2 #F26E84 #C6F26E #6EF2DC
split-complementary
#9A6EF2 #F2DC6E #84F26E
monochromatic
#5313D3 #7336ED #9A6EF2 #C1A6F7 #E8DEFC

Accessibility & contrast

On white

3.57
#9A6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#9A6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6EF2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6EF2#FFFFFF#000000##000000
##9A6EF21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#8589A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a6ef2;
/* rgb */ color: rgb(154, 110, 242);
/* oklch */ color: oklch(64.4% 0.191 296.0);
Tailwind
colors: {
  custom: {
    50: '#bc99f7',
    500: '#9a6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #9a6ef2;
$custom-light: #bc99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6ef2",
  "rgb": {
    "r": 154,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 260,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64418,
    "c": 0.19069,
    "h": 296
  },
  "luminance": 0.24433
}

Semantic roles & 50–950 ramp

primary
#9A6EF2
secondary
#E4F1CB
accent
#E00697
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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