#9A7ACA#9A7ACA

#9A7ACA is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.2% C 0.121 H 301.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9A7ACA
RGBrgb(154, 122, 202)
HSLhsl(264, 43%, 64%)
HSVhsv(264, 40%, 79%)
CMYKcmyk(23.8%, 39.6%, 0%, 20.8%)
CIE-LABlab(57.13, 28.76, -37.04)
CIE-LCHlch(57.13, 46.89, 307.83°)
OKLaboklab(64.19% 0.0632 -0.1031)
OKLCHoklch(64.19% 0.121 301.5)
XYZxyz(30.9443, 25.0533, 59.0712)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7ACA #AACA7A
analogous
#7A82CA #9A7ACA #C27ACA
triadic
#9A7ACA #CA9A7A #7ACA9A
tetradic
#9A7ACA #CA7A82 #AACA7A #7ACAC2
square
#9A7ACA #CA7A82 #AACA7A #7ACAC2
split-complementary
#9A7ACA #CAC27A #82CA7A
monochromatic
#5C3990 #794EB9 #9A7ACA #BBA6DB #DCD2ED

Accessibility & contrast

On white

3.49
#9A7ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9A7ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7ACA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7ACA#FFFFFF#000000##000000
##9A7ACA1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CD
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#918798
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a7aca;
/* rgb */ color: rgb(154, 122, 202);
/* oklch */ color: oklch(64.2% 0.121 301.5);
Tailwind
colors: {
  custom: {
    50: '#b9a1da',
    500: '#9a7aca',
    950: '#000000',
  },
}
SCSS
$custom: #9a7aca;
$custom-light: #b9a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7aca",
  "rgb": {
    "r": 154,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 264,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.12092,
    "h": 301.5
  },
  "luminance": 0.25053
}

Semantic roles & 50–950 ramp

primary
#9A7ACA
secondary
#D3DEC2
accent
#B62F80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120F15
muted
#817E83

Preview Lab

Preview with #9A7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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