#9C54F2#9C54F2

#9C54F2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.226 H 300.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9C54F2
RGBrgb(156, 84, 242)
HSLhsl(267, 86%, 64%)
HSVhsv(267, 65%, 95%)
CMYKcmyk(35.5%, 65.3%, 0%, 5.1%)
CIE-LABlab(51.63, 59.56, -68.32)
CIE-LCHlch(51.63, 90.64, 311.08°)
OKLaboklab(60.91% 0.1157 -0.1944)
OKLCHoklch(60.91% 0.226 300.7)
XYZxyz(32.9038, 19.8192, 86.0792)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54F2 #AAF254
analogous
#545BF2 #9C54F2 #EB54F2
triadic
#9C54F2 #F29C54 #54F29C
tetradic
#9C54F2 #F2545B #AAF254 #54F2EB
square
#9C54F2 #F2545B #AAF254 #54F2EB
split-complementary
#9C54F2 #F2EB54 #5BF254
monochromatic
#5E0EBD #7B1BEE #9C54F2 #BD8DF6 #DEC6FB

Accessibility & contrast

On white

4.23
#9C54F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9C54F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C54F2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C54F2#FFFFFF#000000##000000
##9C54F21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#89789C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c54f2;
/* rgb */ color: rgb(156, 84, 242);
/* oklch */ color: oklch(60.9% 0.226 300.7);
Tailwind
colors: {
  custom: {
    50: '#bf88f7',
    500: '#9c54f2',
    950: '#000000',
  },
}
SCSS
$custom: #9c54f2;
$custom-light: #bf88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54f2",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 267.342,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.22623,
    "h": 300.7
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#9C54F2
secondary
#D3EDB5
accent
#E2037D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C54F2

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

Preview Lab → · Contrast checker → · Palette generator →

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