#9D7FFA#9D7FFA

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

Color values

HEX#9D7FFA
RGBrgb(157, 127, 250)
HSLhsl(255, 92%, 74%)
HSVhsv(255, 49%, 98%)
CMYKcmyk(37.2%, 49.2%, 0%, 2%)
CIE-LABlab(61.00, 38.84, -57.70)
CIE-LCHlch(61.00, 69.55, 303.94°)
OKLaboklab(67.96% 0.0669 -0.1632)
OKLCHoklch(67.96% 0.176 292.3)
XYZxyz(38.7447, 29.2480, 94.0280)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7FFA #DCFA7F
analogous
#7F9FFA #9D7FFA #DB7FFA
triadic
#9D7FFA #FA9D7F #7FFA9D
tetradic
#9D7FFA #FA7F9F #DCFA7F #7FFADB
square
#9D7FFA #FA7F9F #DCFA7F #7FFADB
split-complementary
#9D7FFA #FADB7F #9FFA7F
monochromatic
#430AF5 #7044F8 #9D7FFA #CABAFC #E8E2FE

Accessibility & contrast

On white

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

On black

6.85
#9D7FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7FFA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7FFA#FFFFFF#000000##000000
##9D7FFA1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#8598B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d7ffa;
/* rgb */ color: rgb(157, 127, 250);
/* oklch */ color: oklch(68.0% 0.176 292.3);
Tailwind
colors: {
  custom: {
    50: '#bea4fc',
    500: '#9d7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #9d7ffa;
$custom-light: #bea4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7ffa",
  "rgb": {
    "r": 157,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 254.634,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67962,
    "c": 0.1764,
    "h": 292.3
  },
  "luminance": 0.29249
}

Semantic roles & 50–950 ramp

primary
#9D7FFA
secondary
#EEF6D5
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9D7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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