#9F7EFE#9F7EFE

#9F7EFE is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.183 H 292.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F7EFE
RGBrgb(159, 126, 254)
HSLhsl(255, 98%, 75%)
HSVhsv(255, 50%, 100%)
CMYKcmyk(37.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(61.17, 40.93, -59.61)
CIE-LCHlch(61.17, 72.31, 304.48°)
OKLaboklab(68.21% 0.0709 -0.1688)
OKLCHoklch(68.21% 0.183 292.8)
XYZxyz(39.6436, 29.4474, 97.3419)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7EFE #DDFE7E
analogous
#7E9DFE #9F7EFE #DF7EFE
triadic
#9F7EFE #FE9F7E #7EFE9F
tetradic
#9F7EFE #FE7E9D #DDFE7E #7EFEDF
square
#9F7EFE #FE7E9D #DDFE7E #7EFEDF
split-complementary
#9F7EFE #FEDF7E #9DFE7E
monochromatic
#4505FD #7241FE #9F7EFE #CCBBFE #E8E1FF

Accessibility & contrast

On white

3.05
#9F7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#9F7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7EFE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7EFE#FFFFFF#000000##000000
##9F7EFE1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#8798B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9f7efe;
/* rgb */ color: rgb(159, 126, 254);
/* oklch */ color: oklch(68.2% 0.183 292.8);
Tailwind
colors: {
  custom: {
    50: '#c0a4ff',
    500: '#9f7efe',
    950: '#000000',
  },
}
SCSS
$custom: #9f7efe;
$custom-light: #c0a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7efe",
  "rgb": {
    "r": 159,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 255.469,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68206,
    "c": 0.18304,
    "h": 292.8
  },
  "luminance": 0.29448
}

Semantic roles & 50–950 ramp

primary
#9F7EFE
secondary
#EEF7D4
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9F7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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