#9254E6#9254E6

#9254E6 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.211 H 299.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9254E6
RGBrgb(146, 84, 230)
HSLhsl(265, 74%, 62%)
HSVhsv(265, 63%, 90%)
CMYKcmyk(36.5%, 63.5%, 0%, 9.8%)
CIE-LABlab(49.70, 54.61, -64.77)
CIE-LCHlch(49.70, 84.72, 310.13°)
OKLaboklab(59% 0.1037 -0.1843)
OKLCHoklch(59% 0.211 299.4)
XYZxyz(29.3038, 18.1645, 76.8098)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9254E6 #A8E654
analogous
#545FE6 #9254E6 #DB54E6
triadic
#9254E6 #E69254 #54E692
tetradic
#9254E6 #E6545F #A8E654 #54E6DB
square
#9254E6 #E6545F #A8E654 #54E6DB
split-complementary
#9254E6 #E6DB54 #5FE654
monochromatic
#5518A7 #7020DD #9254E6 #B489EE #D6BFF6

Accessibility & contrast

On white

4.53
#9254E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9254E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9254E6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9254E6#FFFFFF#000000##000000
##9254E61.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0575E3
Tritanopia (blue-blind)
#7F7596
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9254e6;
/* rgb */ color: rgb(146, 84, 230);
/* oklch */ color: oklch(59.0% 0.211 299.4);
Tailwind
colors: {
  custom: {
    50: '#b787ef',
    500: '#9254e6',
    950: '#000000',
  },
}
SCSS
$custom: #9254e6;
$custom-light: #b787ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9254e6",
  "rgb": {
    "r": 146,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 265.479,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59,
    "c": 0.21146,
    "h": 299.4
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#9254E6
secondary
#CFE6B0
accent
#D70F82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9254E6

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

Preview Lab → · Contrast checker → · Palette generator →

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