#9C7DE6#9C7DE6

#9C7DE6 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.4% C 0.153 H 295.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9C7DE6
RGBrgb(156, 125, 230)
HSLhsl(258, 68%, 70%)
HSVhsv(258, 46%, 90%)
CMYKcmyk(32.2%, 45.7%, 0%, 9.8%)
CIE-LABlab(59.39, 34.54, -49.19)
CIE-LCHlch(59.39, 60.11, 305.07°)
OKLaboklab(66.39% 0.0661 -0.1384)
OKLCHoklch(66.39% 0.153 295.5)
XYZxyz(35.3233, 27.4478, 78.2845)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7DE6 #C7E67D
analogous
#7D93E6 #9C7DE6 #D07DE6
triadic
#9C7DE6 #E69C7D #7DE69C
tetradic
#9C7DE6 #E67D93 #C7E67D #7DE6D0
square
#9C7DE6 #E67D93 #C7E67D #7DE6D0
split-complementary
#9C7DE6 #E6D07D #93E67D
monochromatic
#5426C3 #754ADC #9C7DE6 #C3B0F0 #EAE4FA

Accessibility & contrast

On white

3.24
#9C7DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#9C7DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7DE6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7DE6#FFFFFF#000000##000000
##9C7DE61.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EA
Deuteranopia (green-blind)
#608EE3
Tritanopia (blue-blind)
#8B91A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c7de6;
/* rgb */ color: rgb(156, 125, 230);
/* oklch */ color: oklch(66.4% 0.153 295.5);
Tailwind
colors: {
  custom: {
    50: '#bca3ee',
    500: '#9c7de6',
    950: '#000000',
  },
}
SCSS
$custom: #9c7de6;
$custom-light: #bca3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7de6",
  "rgb": {
    "r": 156,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 257.714,
    "s": 67.742,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66386,
    "c": 0.15334,
    "h": 295.5
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

primary
#9C7DE6
secondary
#E6EED0
accent
#D01699
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9C7DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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