#9A7EFA#9A7EFA

#9A7EFA is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.178 H 291.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9A7EFA
RGBrgb(154, 126, 250)
HSLhsl(254, 93%, 74%)
HSVhsv(254, 50%, 98%)
CMYKcmyk(38.4%, 49.6%, 0%, 2%)
CIE-LABlab(60.51, 38.68, -58.50)
CIE-LCHlch(60.51, 70.13, 303.48°)
OKLaboklab(67.53% 0.0645 -0.1656)
OKLCHoklch(67.53% 0.178 291.3)
XYZxyz(38.0379, 28.6928, 93.9581)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7EFA #DEFA7E
analogous
#7EA0FA #9A7EFA #D87EFA
triadic
#9A7EFA #FA9A7E #7EFA9A
tetradic
#9A7EFA #FA7EA0 #DEFA7E #7EFAD8
square
#9A7EFA #FA7EA0 #DEFA7E #7EFAD8
split-complementary
#9A7EFA #FAD87E #A0FA7E
monochromatic
#3E09F4 #6C43F8 #9A7EFA #C8B9FC #E8E2FE

Accessibility & contrast

On white

3.12
#9A7EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9A7EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7EFA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7EFA#FFFFFF#000000##000000
##9A7EFA1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#8197B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a7efa;
/* rgb */ color: rgb(154, 126, 250);
/* oklch */ color: oklch(67.5% 0.178 291.3);
Tailwind
colors: {
  custom: {
    50: '#bca4fc',
    500: '#9a7efa',
    950: '#000000',
  },
}
SCSS
$custom: #9a7efa;
$custom-light: #bca4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7efa",
  "rgb": {
    "r": 154,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 253.548,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67532,
    "c": 0.17777,
    "h": 291.3
  },
  "luminance": 0.28694
}

Semantic roles & 50–950 ramp

primary
#9A7EFA
secondary
#EFF6D5
accent
#E600B2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9A7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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