#9D7EF3#9D7EF3

#9D7EF3 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.169 H 293.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D7EF3
RGBrgb(157, 126, 243)
HSLhsl(256, 83%, 72%)
HSVhsv(256, 48%, 95%)
CMYKcmyk(35.4%, 48.1%, 0%, 4.7%)
CIE-LABlab(60.39, 37.57, -54.81)
CIE-LCHlch(60.39, 66.45, 304.43°)
OKLaboklab(67.38% 0.0675 -0.1547)
OKLCHoklch(67.38% 0.169 293.6)
XYZxyz(37.5389, 28.5601, 88.3115)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7EF3 #D4F37E
analogous
#7E9AF3 #9D7EF3 #D77EF3
triadic
#9D7EF3 #F39D7E #7EF39D
tetradic
#9D7EF3 #F37E9A #D4F37E #7EF3D7
square
#9D7EF3 #F37E9A #D4F37E #7EF3D7
split-complementary
#9D7EF3 #F3D77E #9AF37E
monochromatic
#4B15E2 #7246EE #9D7EF3 #C8B6F8 #EAE3FC

Accessibility & contrast

On white

3.13
#9D7EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9D7EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7EF3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7EF3#FFFFFF#000000##000000
##9D7EF31.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#8895AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d7ef3;
/* rgb */ color: rgb(157, 126, 243);
/* oklch */ color: oklch(67.4% 0.169 293.6);
Tailwind
colors: {
  custom: {
    50: '#bda4f7',
    500: '#9d7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #9d7ef3;
$custom-light: #bda4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7ef3",
  "rgb": {
    "r": 157,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 255.897,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67383,
    "c": 0.16883,
    "h": 293.6
  },
  "luminance": 0.28561
}

Semantic roles & 50–950 ramp

primary
#9D7EF3
secondary
#ECF4D7
accent
#DF06A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9D7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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