#9254DD#9254DD

#9254DD is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.201 H 301.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9254DD
RGBrgb(146, 84, 221)
HSLhsl(267, 67%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(33.9%, 62%, 0%, 13.3%)
CIE-LABlab(49.10, 52.39, -60.65)
CIE-LCHlch(49.10, 80.14, 310.82°)
OKLaboklab(58.38% 0.1043 -0.1722)
OKLCHoklch(58.38% 0.201 301.2)
XYZxyz(28.0724, 17.6720, 70.3247)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254DD #9FDD54
analogous
#545BDD #9254DD #D654DD
triadic
#9254DD #DD9254 #54DD92
tetradic
#9254DD #DD545B #9FDD54 #54DDD6
square
#9254DD #DD545B #9FDD54 #54DDD6
split-complementary
#9254DD #DDD654 #5BDD54
monochromatic
#561E98 #7228CB #9254DD #B387E7 #D3BAF1

Accessibility & contrast

On white

4.63
#9254DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9254DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9254DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254DD#FFFFFF#000000##FFFFFF
##9254DD1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#2374DA
Tritanopia (blue-blind)
#827291
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9254dd;
/* rgb */ color: rgb(146, 84, 221);
/* oklch */ color: oklch(58.4% 0.201 301.2);
Tailwind
colors: {
  custom: {
    50: '#b787e8',
    500: '#9254dd',
    950: '#000000',
  },
}
SCSS
$custom: #9254dd;
$custom-light: #b787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9254dd",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 267.153,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.20131,
    "h": 301.2
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#9254DD
secondary
#C9E1AC
accent
#EA3E9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9254DD

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

Preview Lab → · Contrast checker → · Palette generator →

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