#9A6EFA#9A6EFA

#9A6EFA is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 64.9% C 0.200 H 294.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9A6EFA
RGBrgb(154, 110, 250)
HSLhsl(259, 93%, 71%)
HSVhsv(259, 56%, 98%)
CMYKcmyk(38.4%, 56%, 0%, 2%)
CIE-LABlab(57.00, 47.62, -64.12)
CIE-LCHlch(57.00, 79.87, 306.60°)
OKLaboklab(64.93% 0.0837 -0.1822)
OKLCHoklch(64.93% 0.2 294.7)
XYZxyz(36.1532, 24.9232, 93.3298)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6EFA #CEFA6E
analogous
#6E88FA #9A6EFA #E06EFA
triadic
#9A6EFA #FA9A6E #6EFA9A
tetradic
#9A6EFA #FA6E88 #CEFA6E #6EFAE0
square
#9A6EFA #FA6E88 #CEFA6E #6EFAE0
split-complementary
#9A6EFA #FAE06E #88FA6E
monochromatic
#4E08E6 #7133F8 #9A6EFA #C3A9FC #EAE1FE

Accessibility & contrast

On white

3.51
#9A6EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9A6EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6EFA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6EFA#FFFFFF#000000##000000
##9A6EFA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#248AFF
Deuteranopia (green-blind)
#3487F7
Tritanopia (blue-blind)
#828CAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a6efa;
/* rgb */ color: rgb(154, 110, 250);
/* oklch */ color: oklch(64.9% 0.200 294.7);
Tailwind
colors: {
  custom: {
    50: '#bd99fd',
    500: '#9a6efa',
    950: '#000000',
  },
}
SCSS
$custom: #9a6efa;
$custom-light: #bd99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6efa",
  "rgb": {
    "r": 154,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 258.857,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64929,
    "c": 0.20047,
    "h": 294.7
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#9A6EFA
secondary
#E9F5CF
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9A6EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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