#7D54BB#7D54BB

#7D54BB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.157 H 299.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7D54BB
RGBrgb(125, 84, 187)
HSLhsl(264, 43%, 53%)
HSVhsv(264, 55%, 73%)
CMYKcmyk(33.2%, 55.1%, 0%, 26.7%)
CIE-LABlab(44.64, 38.92, -48.37)
CIE-LCHlch(44.64, 62.08, 308.82°)
OKLaboklab(53.91% 0.0773 -0.1368)
OKLCHoklch(53.91% 0.157 299.5)
XYZxyz(20.5953, 14.2883, 48.6769)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54BB #92BB54
analogous
#545FBB #7D54BB #B054BB
triadic
#7D54BB #BB7D54 #54BB7D
tetradic
#7D54BB #BB545F #92BB54 #54BBB0
square
#7D54BB #BB545F #92BB54 #54BBB0
split-complementary
#7D54BB #BBB054 #5FBB54
monochromatic
#442A6A #603C96 #7D54BB #9E80CC #C0ACDE

Accessibility & contrast

On white

5.44
#7D54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7D54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54BB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54BB#FFFFFF#000000##FFFFFF
##7D54BB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#70687F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d54bb;
/* rgb */ color: rgb(125, 84, 187);
/* oklch */ color: oklch(53.9% 0.157 299.5);
Tailwind
colors: {
  custom: {
    50: '#a685d0',
    500: '#7d54bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d54bb;
$custom-light: #a685d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54bb",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 263.883,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.15711,
    "h": 299.5
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#7D54BB
secondary
#BACC9F
accent
#D355A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7D54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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