#9254DC#9254DC

#9254DC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.200 H 301.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9254DC
RGBrgb(146, 84, 220)
HSLhsl(267, 66%, 60%)
HSVhsv(267, 62%, 86%)
CMYKcmyk(33.6%, 61.8%, 0%, 13.7%)
CIE-LABlab(49.03, 52.15, -60.18)
CIE-LCHlch(49.03, 79.63, 310.91°)
OKLaboklab(58.31% 0.1044 -0.1708)
OKLCHoklch(58.31% 0.2 301.4)
XYZxyz(27.9396, 17.6188, 69.6251)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254DC #9EDC54
analogous
#545ADC #9254DC #D654DC
triadic
#9254DC #DC9254 #54DC92
tetradic
#9254DC #DC545A #9EDC54 #54DCD6
square
#9254DC #DC545A #9EDC54 #54DCD6
split-complementary
#9254DC #DCD654 #5ADC54
monochromatic
#561F97 #7229CA #9254DC #B287E6 #D3BAF1

Accessibility & contrast

On white

4.64
#9254DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9254DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9254DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254DC#FFFFFF#000000##FFFFFF
##9254DC1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#837190
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9254dc;
/* rgb */ color: rgb(146, 84, 220);
/* oklch */ color: oklch(58.3% 0.200 301.4);
Tailwind
colors: {
  custom: {
    50: '#b787e8',
    500: '#9254dc',
    950: '#000000',
  },
}
SCSS
$custom: #9254dc;
$custom-light: #b787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9254dc",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 267.353,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.20018,
    "h": 301.4
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#9254DC
secondary
#C8E0AC
accent
#E93F9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9254DC

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

Preview Lab → · Contrast checker → · Palette generator →

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