#9E7CF3#9E7CF3

#9E7CF3 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.1% C 0.172 H 294.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9E7CF3
RGBrgb(158, 124, 243)
HSLhsl(257, 83%, 72%)
HSVhsv(257, 49%, 95%)
CMYKcmyk(35%, 49%, 0%, 4.7%)
CIE-LABlab(60.03, 38.95, -55.38)
CIE-LCHlch(60.03, 67.71, 305.12°)
OKLaboklab(67.13% 0.0712 -0.1564)
OKLCHoklch(67.13% 0.172 294.5)
XYZxyz(37.4817, 28.1548, 88.2363)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7CF3 #D1F37C
analogous
#7C96F3 #9E7CF3 #DA7CF3
triadic
#9E7CF3 #F39E7C #7CF39E
tetradic
#9E7CF3 #F37C96 #D1F37C #7CF3DA
square
#9E7CF3 #F37C96 #D1F37C #7CF3DA
split-complementary
#9E7CF3 #F3DA7C #96F37C
monochromatic
#4F15E0 #7444EE #9E7CF3 #C8B4F8 #EAE3FC

Accessibility & contrast

On white

3.17
#9E7CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#9E7CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7CF3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7CF3#FFFFFF#000000##000000
##9E7CF31.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#8A93AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e7cf3;
/* rgb */ color: rgb(158, 124, 243);
/* oklch */ color: oklch(67.1% 0.172 294.5);
Tailwind
colors: {
  custom: {
    50: '#bea2f8',
    500: '#9e7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #9e7cf3;
$custom-light: #bea2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7cf3",
  "rgb": {
    "r": 158,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 257.143,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67133,
    "c": 0.17186,
    "h": 294.5
  },
  "luminance": 0.28155
}

Semantic roles & 50–950 ramp

primary
#9E7CF3
secondary
#ECF4D6
accent
#E006A1
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9E7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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