#7B54FD#7B54FD

#7B54FD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.237 H 287.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B54FD
RGBrgb(123, 84, 253)
HSLhsl(254, 98%, 66%)
HSVhsv(254, 67%, 99%)
CMYKcmyk(51.4%, 66.8%, 0%, 0.8%)
CIE-LABlab(49.06, 56.42, -78.79)
CIE-LCHlch(49.06, 96.91, 305.61°)
OKLaboklab(58.53% 0.0703 -0.2263)
OKLCHoklch(58.53% 0.237 287.3)
XYZxyz(29.0631, 17.6420, 94.7833)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B54FD #D6FD54
analogous
#5481FD #7B54FD #CF54FD
triadic
#7B54FD #FD7B54 #54FD7B
tetradic
#7B54FD #FD5481 #D6FD54 #54FDCF
square
#7B54FD #FD5481 #D6FD54 #54FDCF
split-complementary
#7B54FD #FDCF54 #81FD54
monochromatic
#3302D4 #4C18FC #7B54FD #AA90FE #D8CDFE

Accessibility & contrast

On white

4.64
#7B54FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7B54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B54FD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B54FD#FFFFFF#000000##FFFFFF
##7B54FD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#497FA2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b54fd;
/* rgb */ color: rgb(123, 84, 253);
/* oklch */ color: oklch(58.5% 0.237 287.3);
Tailwind
colors: {
  custom: {
    50: '#ac87ff',
    500: '#7b54fd',
    950: '#000000',
  },
}
SCSS
$custom: #7b54fd;
$custom-light: #ac87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b54fd",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 253.846,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.23694,
    "h": 287.3
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#7B54FD
secondary
#E5F2BB
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7B54FD

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

Preview Lab → · Contrast checker → · Palette generator →

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