#7B54EA#7B54EA

#7B54EA is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.215 H 289.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B54EA
RGBrgb(123, 84, 234)
HSLhsl(256, 78%, 62%)
HSVhsv(256, 64%, 92%)
CMYKcmyk(47.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(47.61, 51.15, -70.52)
CIE-LCHlch(47.61, 87.12, 305.96°)
OKLaboklab(57.04% 0.0728 -0.2019)
OKLCHoklch(57.04% 0.215 289.8)
XYZxyz(26.1857, 16.4911, 79.6293)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B54EA #C3EA54
analogous
#5478EA #7B54EA #C654EA
triadic
#7B54EA #EA7B54 #54EA7B
tetradic
#7B54EA #EA5478 #C3EA54 #54EAC6
square
#7B54EA #EA5478 #C3EA54 #54EAC6
split-complementary
#7B54EA #EAC654 #78EA54
monochromatic
#3D15AE #511DE3 #7B54EA #A58BF1 #CFC1F7

Accessibility & contrast

On white

4.89
#7B54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7B54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B54EA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B54EA#FFFFFF#000000##FFFFFF
##7B54EA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#577898
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b54ea;
/* rgb */ color: rgb(123, 84, 234);
/* oklch */ color: oklch(57.0% 0.215 289.8);
Tailwind
colors: {
  custom: {
    50: '#a986f2',
    500: '#7b54ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b54ea;
$custom-light: #a986f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b54ea",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 255.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.21464,
    "h": 289.8
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#7B54EA
secondary
#DAE8B2
accent
#DA0BA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B54EA

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

Preview Lab → · Contrast checker → · Palette generator →

#7B54EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva