#9254E4#9254E4

#9254E4 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.209 H 299.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9254E4
RGBrgb(146, 84, 228)
HSLhsl(266, 73%, 61%)
HSVhsv(266, 63%, 89%)
CMYKcmyk(36%, 63.2%, 0%, 10.6%)
CIE-LABlab(49.56, 54.12, -63.86)
CIE-LCHlch(49.56, 83.71, 310.28°)
OKLaboklab(58.86% 0.1038 -0.1816)
OKLCHoklch(58.86% 0.209 299.8)
XYZxyz(29.0245, 18.0528, 75.3391)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254E4 #A6E454
analogous
#545EE4 #9254E4 #DA54E4
triadic
#9254E4 #E49254 #54E492
tetradic
#9254E4 #E4545E #A6E454 #54E4DA
square
#9254E4 #E4545E #A6E454 #54E4DA
split-complementary
#9254E4 #E4DA54 #5EE454
monochromatic
#551AA4 #7122D9 #9254E4 #B489EC #D5BEF5

Accessibility & contrast

On white

4.55
#9254E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9254E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9254E4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254E4#FFFFFF#000000##000000
##9254E41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#1075E1
Tritanopia (blue-blind)
#807495
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9254e4;
/* rgb */ color: rgb(146, 84, 228);
/* oklch */ color: oklch(58.9% 0.209 299.8);
Tailwind
colors: {
  custom: {
    50: '#b787ed',
    500: '#9254e4',
    950: '#000000',
  },
}
SCSS
$custom: #9254e4;
$custom-light: #b787ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9254e4",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 265.833,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.20921,
    "h": 299.8
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#9254E4
secondary
#CEE5AF
accent
#D51180
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9254E4

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

Preview Lab → · Contrast checker → · Palette generator →

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