#9A7CF5#9A7CF5

#9A7CF5 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.174 H 292.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9A7CF5
RGBrgb(154, 124, 245)
HSLhsl(255, 86%, 72%)
HSVhsv(255, 49%, 96%)
CMYKcmyk(37.1%, 49.4%, 0%, 3.9%)
CIE-LABlab(59.78, 38.49, -56.91)
CIE-LCHlch(59.78, 68.70, 304.07°)
OKLaboklab(66.9% 0.0666 -0.161)
OKLCHoklch(66.9% 0.174 292.5)
XYZxyz(37.0111, 27.8770, 89.7993)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7CF5 #D7F57C
analogous
#7C9BF5 #9A7CF5 #D77CF5
triadic
#9A7CF5 #F59A7C #7CF59A
tetradic
#9A7CF5 #F57C9B #D7F57C #7CF5D7
square
#9A7CF5 #F57C9B #D7F57C #7CF5D7
split-complementary
#9A7CF5 #F5D77C #9BF57C
monochromatic
#4611E5 #6E43F1 #9A7CF5 #C6B5F9 #E9E3FD

Accessibility & contrast

On white

3.19
#9A7CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9A7CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7CF5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7CF5#FFFFFF#000000##000000
##9A7CF51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#8394AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9a7cf5;
/* rgb */ color: rgb(154, 124, 245);
/* oklch */ color: oklch(66.9% 0.174 292.5);
Tailwind
colors: {
  custom: {
    50: '#bca2f9',
    500: '#9a7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9a7cf5;
$custom-light: #bca2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7cf5",
  "rgb": {
    "r": 154,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 254.876,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.17421,
    "h": 292.5
  },
  "luminance": 0.27878
}

Semantic roles & 50–950 ramp

primary
#9A7CF5
secondary
#EDF5D6
accent
#E203AB
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9A7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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