#9254CD#9254CD

#9254CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.183 H 304.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9254CD
RGBrgb(146, 84, 205)
HSLhsl(271, 55%, 57%)
HSVhsv(271, 59%, 80%)
CMYKcmyk(28.8%, 59%, 0%, 19.6%)
CIE-LABlab(48.08, 48.53, -53.14)
CIE-LCHlch(48.08, 71.97, 312.40°)
OKLaboklab(57.32% 0.1049 -0.1501)
OKLCHoklch(57.32% 0.183 304.9)
XYZxyz(26.0414, 16.8596, 59.6281)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254CD #8FCD54
analogous
#5654CD #9254CD #CD54CB
triadic
#9254CD #CD9254 #54CD92
tetradic
#9254CD #CD5654 #8FCD54 #54CBCD
square
#9254CD #CD5654 #8FCD54 #54CBCD
split-complementary
#9254CD #CBCD54 #54CD56
monochromatic
#542681 #7334B0 #9254CD #B083DB #CEB3E9

Accessibility & contrast

On white

4.80
#9254CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9254CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9254CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254CD#FFFFFF#000000##FFFFFF
##9254CD1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#886C89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9254cd;
/* rgb */ color: rgb(146, 84, 205);
/* oklch */ color: oklch(57.3% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#b687dd',
    500: '#9254cd',
    950: '#000000',
  },
}
SCSS
$custom: #9254cd;
$custom-light: #b687dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9254cd",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 270.744,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.18313,
    "h": 304.9
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#9254CD
secondary
#BED7A6
accent
#DE4A92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9254CD

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

Preview Lab → · Contrast checker → · Palette generator →

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