#9254DE#9254DE

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

Color values

HEX#9254DE
RGBrgb(146, 84, 222)
HSLhsl(267, 68%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(34.2%, 62.2%, 0%, 12.9%)
CIE-LABlab(49.16, 52.64, -61.11)
CIE-LCHlch(49.16, 80.65, 310.74°)
OKLaboklab(58.44% 0.1043 -0.1735)
OKLCHoklch(58.44% 0.202 301)
XYZxyz(28.2060, 17.7254, 71.0284)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254DE #A0DE54
analogous
#545BDE #9254DE #D754DE
triadic
#9254DE #DE9254 #54DE92
tetradic
#9254DE #DE545B #A0DE54 #54DED7
square
#9254DE #DE545B #A0DE54 #54DED7
split-complementary
#9254DE #DED754 #5BDE54
monochromatic
#561E9A #7228CD #9254DE #B387E8 #D3BBF2

Accessibility & contrast

On white

4.62
#9254DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9254DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9254DE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254DE#FFFFFF#000000##FFFFFF
##9254DE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#2174DB
Tritanopia (blue-blind)
#827291
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9254de;
/* rgb */ color: rgb(146, 84, 222);
/* oklch */ color: oklch(58.4% 0.202 301.0);
Tailwind
colors: {
  custom: {
    50: '#b787e9',
    500: '#9254de',
    950: '#000000',
  },
}
SCSS
$custom: #9254de;
$custom-light: #b787e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9254de",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 266.957,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.20245,
    "h": 301
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#9254DE
secondary
#CAE1AC
accent
#EB3D9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9254DE

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

Preview Lab → · Contrast checker → · Palette generator →

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