#9A54EB#9A54EB

#9A54EB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.2% C 0.218 H 301.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9A54EB
RGBrgb(154, 84, 235)
HSLhsl(268, 79%, 63%)
HSVhsv(268, 64%, 92%)
CMYKcmyk(34.5%, 64.3%, 0%, 7.8%)
CIE-LABlab(50.93, 57.48, -65.55)
CIE-LCHlch(50.93, 87.18, 311.25°)
OKLaboklab(60.2% 0.1137 -0.1863)
OKLCHoklch(60.2% 0.218 301.4)
XYZxyz(31.4886, 19.2087, 80.6299)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A54EB #A5EB54
analogous
#5459EB #9A54EB #E654EB
triadic
#9A54EB #EB9A54 #54EB9A
tetradic
#9A54EB #EB5459 #A5EB54 #54EBE6
square
#9A54EB #EB5459 #A5EB54 #54EBE6
split-complementary
#9A54EB #EBE654 #59EB54
monochromatic
#5D15B0 #7A1DE5 #9A54EB #BA8BF1 #DBC2F8

Accessibility & contrast

On white

4.34
#9A54EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9A54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A54EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A54EB#FFFFFF#000000##000000
##9A54EB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#1179E8
Tritanopia (blue-blind)
#897698
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a54eb;
/* rgb */ color: rgb(154, 84, 235);
/* oklch */ color: oklch(60.2% 0.218 301.4);
Tailwind
colors: {
  custom: {
    50: '#bd88f2',
    500: '#9a54eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a54eb;
$custom-light: #bd88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a54eb",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 267.815,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.602,
    "c": 0.2183,
    "h": 301.4
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#9A54EB
secondary
#CFE9B2
accent
#DB0A7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A54EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9A54EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva