#9254CA#9254CA

#9254CA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.180 H 305.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9254CA
RGBrgb(146, 84, 202)
HSLhsl(272, 53%, 56%)
HSVhsv(272, 58%, 79%)
CMYKcmyk(27.7%, 58.4%, 0%, 20.8%)
CIE-LABlab(47.90, 47.82, -51.71)
CIE-LCHlch(47.90, 70.43, 312.76°)
OKLaboklab(57.12% 0.1049 -0.1459)
OKLCHoklch(57.12% 0.18 305.7)
XYZxyz(25.6828, 16.7161, 57.7392)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254CA #8CCA54
analogous
#5754CA #9254CA #CA54C7
triadic
#9254CA #CA9254 #54CA92
tetradic
#9254CA #CA5754 #8CCA54 #54C7CA
square
#9254CA #CA5754 #8CCA54 #54C7CA
split-complementary
#9254CA #C7CA54 #54CA57
monochromatic
#54277D #7335AC #9254CA #B083D8 #CEB1E7

Accessibility & contrast

On white

4.84
#9254CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9254CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9254CA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254CA#FFFFFF#000000##FFFFFF
##9254CA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#896B87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9254ca;
/* rgb */ color: rgb(146, 84, 202);
/* oklch */ color: oklch(57.1% 0.180 305.7);
Tailwind
colors: {
  custom: {
    50: '#b587db',
    500: '#9254ca',
    950: '#000000',
  },
}
SCSS
$custom: #9254ca;
$custom-light: #b587db;
$custom-dark: #000000;
JSON
{
  "hex": "#9254ca",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 271.525,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.17971,
    "h": 305.7
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#9254CA
secondary
#BCD5A5
accent
#DC4C90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9254CA

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

Preview Lab → · Contrast checker → · Palette generator →

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