#9F7EFA#9F7EFA

#9F7EFA is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.178 H 293.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F7EFA
RGBrgb(159, 126, 250)
HSLhsl(256, 93%, 74%)
HSVhsv(256, 50%, 98%)
CMYKcmyk(36.4%, 49.6%, 0%, 2%)
CIE-LABlab(60.95, 39.89, -57.76)
CIE-LCHlch(60.95, 70.20, 304.62°)
OKLaboklab(67.97% 0.0705 -0.1634)
OKLCHoklch(67.97% 0.178 293.4)
XYZxyz(39.0097, 29.1939, 94.0036)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7EFA #D9FA7E
analogous
#7E9BFA #9F7EFA #DD7EFA
triadic
#9F7EFA #FA9F7E #7EFA9F
tetradic
#9F7EFA #FA7E9B #D9FA7E #7EFADD
square
#9F7EFA #FA7E9B #D9FA7E #7EFADD
split-complementary
#9F7EFA #FADD7E #9BFA7E
monochromatic
#4809F4 #7343F8 #9F7EFA #CBB9FC #E9E2FE

Accessibility & contrast

On white

3.07
#9F7EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9F7EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7EFA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7EFA#FFFFFF#000000##000000
##9F7EFA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#8997B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f7efa;
/* rgb */ color: rgb(159, 126, 250);
/* oklch */ color: oklch(68.0% 0.178 293.4);
Tailwind
colors: {
  custom: {
    50: '#bfa4fc',
    500: '#9f7efa',
    950: '#000000',
  },
}
SCSS
$custom: #9f7efa;
$custom-light: #bfa4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7efa",
  "rgb": {
    "r": 159,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 255.968,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67969,
    "c": 0.17794,
    "h": 293.4
  },
  "luminance": 0.29195
}

Semantic roles & 50–950 ramp

primary
#9F7EFA
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9F7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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