#9254E1#9254E1

#9254E1 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.206 H 300.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9254E1
RGBrgb(146, 84, 225)
HSLhsl(266, 70%, 61%)
HSVhsv(266, 63%, 88%)
CMYKcmyk(35.1%, 62.7%, 0%, 11.8%)
CIE-LABlab(49.36, 53.38, -62.49)
CIE-LCHlch(49.36, 82.18, 310.50°)
OKLaboklab(58.65% 0.1041 -0.1776)
OKLCHoklch(58.65% 0.206 300.4)
XYZxyz(28.6117, 17.8877, 73.1648)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254E1 #A3E154
analogous
#545CE1 #9254E1 #D854E1
triadic
#9254E1 #E19254 #54E192
tetradic
#9254E1 #E1545C #A3E154 #54E1D8
square
#9254E1 #E1545C #A3E154 #54E1D8
split-complementary
#9254E1 #E1D854 #5CE154
monochromatic
#551C9F #7125D3 #9254E1 #B388EA #D4BCF3

Accessibility & contrast

On white

4.59
#9254E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9254E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9254E1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254E1#FFFFFF#000000##FFFFFF
##9254E11.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#1A74DE
Tritanopia (blue-blind)
#817393
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9254e1;
/* rgb */ color: rgb(146, 84, 225);
/* oklch */ color: oklch(58.7% 0.206 300.4);
Tailwind
colors: {
  custom: {
    50: '#b787eb',
    500: '#9254e1',
    950: '#000000',
  },
}
SCSS
$custom: #9254e1;
$custom-light: #b787eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9254e1",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 266.383,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.20584,
    "h": 300.4
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#9254E1
secondary
#CCE3AE
accent
#D2137E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9254E1

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

Preview Lab → · Contrast checker → · Palette generator →

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