#9254DB#9254DB

#9254DB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.199 H 301.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9254DB
RGBrgb(146, 84, 219)
HSLhsl(268, 65%, 59%)
HSVhsv(268, 62%, 86%)
CMYKcmyk(33.3%, 61.6%, 0%, 14.1%)
CIE-LABlab(48.97, 51.91, -59.72)
CIE-LCHlch(48.97, 79.12, 311.00°)
OKLaboklab(58.24% 0.1044 -0.1695)
OKLCHoklch(58.24% 0.199 301.6)
XYZxyz(27.8075, 17.5660, 68.9297)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254DB #9DDB54
analogous
#545ADB #9254DB #D654DB
triadic
#9254DB #DB9254 #54DB92
tetradic
#9254DB #DB545A #9DDB54 #54DBD6
square
#9254DB #DB545A #9DDB54 #54DBD6
split-complementary
#9254DB #DBD654 #5ADB54
monochromatic
#561F95 #722AC8 #9254DB #B287E6 #D2B9F0

Accessibility & contrast

On white

4.65
#9254DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9254DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9254DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254DB#FFFFFF#000000##FFFFFF
##9254DB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#837190
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9254db;
/* rgb */ color: rgb(146, 84, 219);
/* oklch */ color: oklch(58.2% 0.199 301.6);
Tailwind
colors: {
  custom: {
    50: '#b787e7',
    500: '#9254db',
    950: '#000000',
  },
}
SCSS
$custom: #9254db;
$custom-light: #b787e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9254db",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 267.556,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.19905,
    "h": 301.6
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#9254DB
secondary
#C8E0AB
accent
#E8409B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9254DB

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

Preview Lab → · Contrast checker → · Palette generator →

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