#9254E8#9254E8

#9254E8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.214 H 299.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9254E8
RGBrgb(146, 84, 232)
HSLhsl(265, 76%, 62%)
HSVhsv(265, 64%, 91%)
CMYKcmyk(37.1%, 63.8%, 0%, 9%)
CIE-LABlab(49.83, 55.11, -65.68)
CIE-LCHlch(49.83, 85.73, 310.00°)
OKLaboklab(59.14% 0.1035 -0.187)
OKLCHoklch(59.14% 0.214 299)
XYZxyz(29.5862, 18.2775, 78.2974)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254E8 #AAE854
analogous
#5460E8 #9254E8 #DC54E8
triadic
#9254E8 #E89254 #54E892
tetradic
#9254E8 #E85460 #AAE854 #54E8DC
square
#9254E8 #E85460 #AAE854 #54E8DC
split-complementary
#9254E8 #E8DC54 #60E854
monochromatic
#5517AB #701EE1 #9254E8 #B48AEF #D7C0F7

Accessibility & contrast

On white

4.51
#9254E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9254E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9254E8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254E8#FFFFFF#000000##000000
##9254E81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#7E7597
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9254e8;
/* rgb */ color: rgb(146, 84, 232);
/* oklch */ color: oklch(59.1% 0.214 299.0);
Tailwind
colors: {
  custom: {
    50: '#b887f0',
    500: '#9254e8',
    950: '#000000',
  },
}
SCSS
$custom: #9254e8;
$custom-light: #b887f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9254e8",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 265.135,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.21371,
    "h": 299
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#9254E8
secondary
#D0E7B1
accent
#D80D83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9254E8

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

Preview Lab → · Contrast checker → · Palette generator →

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