#9754F6#9754F6

#9754F6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.230 H 298.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9754F6
RGBrgb(151, 84, 246)
HSLhsl(265, 90%, 65%)
HSVhsv(265, 66%, 96%)
CMYKcmyk(38.6%, 65.9%, 0%, 3.5%)
CIE-LABlab(51.35, 59.56, -71.04)
CIE-LCHlch(51.35, 92.70, 309.98°)
OKLaboklab(60.67% 0.1086 -0.2026)
OKLCHoklch(60.67% 0.23 298.2)
XYZxyz(32.5631, 19.5733, 89.2333)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754F6 #B3F654
analogous
#5462F6 #9754F6 #E854F6
triadic
#9754F6 #F69754 #54F697
tetradic
#9754F6 #F65462 #B3F654 #54F6E8
square
#9754F6 #F65462 #B3F654 #54F6E8
split-complementary
#9754F6 #F6E854 #62F654
monochromatic
#580AC5 #741AF3 #9754F6 #BA8EF9 #DEC8FC

Accessibility & contrast

On white

4.27
#9754F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9754F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754F6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754F6#FFFFFF#000000##000000
##9754F61.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#807A9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9754f6;
/* rgb */ color: rgb(151, 84, 246);
/* oklch */ color: oklch(60.7% 0.230 298.2);
Tailwind
colors: {
  custom: {
    50: '#bc88fa',
    500: '#9754f6',
    950: '#000000',
  },
}
SCSS
$custom: #9754f6;
$custom-light: #bc88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9754f6",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 246
  },
  "hsl": {
    "h": 264.815,
    "s": 90,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.22985,
    "h": 298.2
  },
  "luminance": 0.19574
}

Semantic roles & 50–950 ramp

primary
#9754F6
secondary
#D8EFB7
accent
#E60087
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9754F6

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

Preview Lab → · Contrast checker → · Palette generator →

#9754F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva