#9D6EFA#9D6EFA

#9D6EFA is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.2% C 0.201 H 295.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D6EFA
RGBrgb(157, 110, 250)
HSLhsl(260, 93%, 71%)
HSVhsv(260, 56%, 98%)
CMYKcmyk(37.2%, 56%, 0%, 2%)
CIE-LABlab(57.29, 48.29, -63.64)
CIE-LCHlch(57.29, 79.89, 307.19°)
OKLaboklab(65.21% 0.0874 -0.1807)
OKLCHoklch(65.21% 0.201 295.8)
XYZxyz(36.7314, 25.2214, 93.3569)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6EFA #CBFA6E
analogous
#6E85FA #9D6EFA #E36EFA
triadic
#9D6EFA #FA9D6E #6EFA9D
tetradic
#9D6EFA #FA6E85 #CBFA6E #6EFAE3
square
#9D6EFA #FA6E85 #CBFA6E #6EFAE3
split-complementary
#9D6EFA #FAE36E #85FA6E
monochromatic
#5208E6 #7533F8 #9D6EFA #C5A9FC #EBE1FE

Accessibility & contrast

On white

3.47
#9D6EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9D6EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6EFA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6EFA#FFFFFF#000000##000000
##9D6EFA1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#268AFF
Deuteranopia (green-blind)
#3888F7
Tritanopia (blue-blind)
#878BAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d6efa;
/* rgb */ color: rgb(157, 110, 250);
/* oklch */ color: oklch(65.2% 0.201 295.8);
Tailwind
colors: {
  custom: {
    50: '#bf99fd',
    500: '#9d6efa',
    950: '#000000',
  },
}
SCSS
$custom: #9d6efa;
$custom-light: #bf99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6efa",
  "rgb": {
    "r": 157,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 260.143,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.20071,
    "h": 295.8
  },
  "luminance": 0.25222
}

Semantic roles & 50–950 ramp

primary
#9D6EFA
secondary
#E8F5CF
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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