#9E7EF3#9E7EF3

#9E7EF3 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.169 H 294.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9E7EF3
RGBrgb(158, 126, 243)
HSLhsl(256, 83%, 72%)
HSVhsv(256, 48%, 95%)
CMYKcmyk(35%, 48.1%, 0%, 4.7%)
CIE-LABlab(60.48, 37.82, -54.66)
CIE-LCHlch(60.48, 66.47, 304.68°)
OKLaboklab(67.47% 0.0687 -0.1543)
OKLCHoklch(67.47% 0.169 294)
XYZxyz(37.7349, 28.6611, 88.3207)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7EF3 #D3F37E
analogous
#7E99F3 #9E7EF3 #D87EF3
triadic
#9E7EF3 #F39E7E #7EF39E
tetradic
#9E7EF3 #F37E99 #D3F37E #7EF3D8
square
#9E7EF3 #F37E99 #D3F37E #7EF3D8
split-complementary
#9E7EF3 #F3D87E #99F37E
monochromatic
#4D15E2 #7446EE #9E7EF3 #C8B6F8 #EAE3FC

Accessibility & contrast

On white

3.12
#9E7EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9E7EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7EF3
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7EF3#FFFFFF#000000##000000
##9E7EF31.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#8A95AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e7ef3;
/* rgb */ color: rgb(158, 126, 243);
/* oklch */ color: oklch(67.5% 0.169 294.0);
Tailwind
colors: {
  custom: {
    50: '#bea4f7',
    500: '#9e7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #9e7ef3;
$custom-light: #bea4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7ef3",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 256.41,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.16889,
    "h": 294
  },
  "luminance": 0.28662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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