#7B54EC#7B54EC

#7B54EC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.217 H 289.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7B54EC
RGBrgb(123, 84, 236)
HSLhsl(255, 80%, 63%)
HSVhsv(255, 64%, 93%)
CMYKcmyk(47.9%, 64.4%, 0%, 7.5%)
CIE-LABlab(47.76, 51.71, -71.40)
CIE-LCHlch(47.76, 88.16, 305.91°)
OKLaboklab(57.19% 0.0725 -0.2045)
OKLCHoklch(57.19% 0.217 289.5)
XYZxyz(26.4747, 16.6067, 81.1511)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B54EC #C5EC54
analogous
#5479EC #7B54EC #C754EC
triadic
#7B54EC #EC7B54 #54EC7B
tetradic
#7B54EC #EC5479 #C5EC54 #54ECC7
square
#7B54EC #EC5479 #C5EC54 #54ECC7
split-complementary
#7B54EC #ECC754 #79EC54
monochromatic
#3C14B2 #501DE6 #7B54EC #A68BF2 #D0C2F8

Accessibility & contrast

On white

4.86
#7B54EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7B54EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B54EC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B54EC#FFFFFF#000000##FFFFFF
##7B54EC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#557999
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b54ec;
/* rgb */ color: rgb(123, 84, 236);
/* oklch */ color: oklch(57.2% 0.217 289.5);
Tailwind
colors: {
  custom: {
    50: '#aa86f3',
    500: '#7b54ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b54ec;
$custom-light: #aa86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b54ec",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 255.395,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.21702,
    "h": 289.5
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#7B54EC
secondary
#DBE9B2
accent
#DC09A6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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