#7D54BE#7D54BE

#7D54BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.161 H 298.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D54BE
RGBrgb(125, 84, 190)
HSLhsl(263, 45%, 54%)
HSVhsv(263, 56%, 75%)
CMYKcmyk(34.2%, 55.8%, 0%, 25.5%)
CIE-LABlab(44.83, 39.70, -49.82)
CIE-LCHlch(44.83, 63.71, 308.55°)
OKLaboklab(54.1% 0.0774 -0.141)
OKLCHoklch(54.1% 0.161 298.8)
XYZxyz(20.9198, 14.4181, 50.3860)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D54BE #95BE54
analogous
#5460BE #7D54BE #B254BE
triadic
#7D54BE #BE7D54 #54BE7D
tetradic
#7D54BE #BE5460 #95BE54 #54BEB2
square
#7D54BE #BE5460 #95BE54 #54BEB2
split-complementary
#7D54BE #BEB254 #60BE54
monochromatic
#442A6E #603B9A #7D54BE #9F80CF #C0ADE0

Accessibility & contrast

On white

5.41
#7D54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7D54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D54BE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D54BE#FFFFFF#000000##FFFFFF
##7D54BE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC2
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#6F6981
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d54be;
/* rgb */ color: rgb(125, 84, 190);
/* oklch */ color: oklch(54.1% 0.161 298.8);
Tailwind
colors: {
  custom: {
    50: '#a685d2',
    500: '#7d54be',
    950: '#000000',
  },
}
SCSS
$custom: #7d54be;
$custom-light: #a685d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d54be",
  "rgb": {
    "r": 125,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 263.208,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.16089,
    "h": 298.8
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#7D54BE
secondary
#BCCEA0
accent
#D553A3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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