#9254CC#9254CC

#9254CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.182 H 305.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9254CC
RGBrgb(146, 84, 204)
HSLhsl(271, 54%, 56%)
HSVhsv(271, 59%, 80%)
CMYKcmyk(28.4%, 58.8%, 0%, 20%)
CIE-LABlab(48.02, 48.29, -52.67)
CIE-LCHlch(48.02, 71.45, 312.52°)
OKLaboklab(57.25% 0.1049 -0.1487)
OKLCHoklch(57.25% 0.182 305.2)
XYZxyz(25.9211, 16.8114, 58.9944)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254CC #8ECC54
analogous
#5654CC #9254CC #CC54CA
triadic
#9254CC #CC9254 #54CC92
tetradic
#9254CC #CC5654 #8ECC54 #54CACC
square
#9254CC #CC5654 #8ECC54 #54CACC
split-complementary
#9254CC #CACC54 #54CC56
monochromatic
#542680 #7334AF #9254CC #B083DA #CEB2E8

Accessibility & contrast

On white

4.81
#9254CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9254CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9254CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254CC#FFFFFF#000000##FFFFFF
##9254CC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#886C88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9254cc;
/* rgb */ color: rgb(146, 84, 204);
/* oklch */ color: oklch(57.3% 0.182 305.2);
Tailwind
colors: {
  custom: {
    50: '#b587dc',
    500: '#9254cc',
    950: '#000000',
  },
}
SCSS
$custom: #9254cc;
$custom-light: #b587dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9254cc",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 271,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.182,
    "h": 305.2
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#9254CC
secondary
#BDD7A5
accent
#DD4A91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9254CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9254CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva