#9254DA#9254DA

#9254DA is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.198 H 301.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9254DA
RGBrgb(146, 84, 218)
HSLhsl(268, 64%, 59%)
HSVhsv(268, 61%, 85%)
CMYKcmyk(33%, 61.5%, 0%, 14.5%)
CIE-LABlab(48.90, 51.66, -59.26)
CIE-LCHlch(48.90, 78.61, 311.08°)
OKLaboklab(58.17% 0.1045 -0.1681)
OKLCHoklch(58.17% 0.198 301.9)
XYZxyz(27.6763, 17.5135, 68.2384)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254DA #9CDA54
analogous
#5459DA #9254DA #D554DA
triadic
#9254DA #DA9254 #54DA92
tetradic
#9254DA #DA5459 #9CDA54 #54DAD5
square
#9254DA #DA5459 #9CDA54 #54DAD5
split-complementary
#9254DA #DAD554 #59DA54
monochromatic
#552094 #732BC6 #9254DA #B286E5 #D2B9F0

Accessibility & contrast

On white

4.66
#9254DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9254DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9254DA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254DA#FFFFFF#000000##FFFFFF
##9254DA1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#2974D7
Tritanopia (blue-blind)
#83708F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9254da;
/* rgb */ color: rgb(146, 84, 218);
/* oklch */ color: oklch(58.2% 0.198 301.9);
Tailwind
colors: {
  custom: {
    50: '#b687e6',
    500: '#9254da',
    950: '#000000',
  },
}
SCSS
$custom: #9254da;
$custom-light: #b687e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9254da",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 267.761,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.19792,
    "h": 301.9
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#9254DA
secondary
#C7DFAB
accent
#E7409A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9254DA

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

Preview Lab → · Contrast checker → · Palette generator →

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