#7B54BF#7B54BF

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

Color values

HEX#7B54BF
RGBrgb(123, 84, 191)
HSLhsl(262, 46%, 54%)
HSVhsv(262, 56%, 75%)
CMYKcmyk(35.6%, 56%, 0%, 25.1%)
CIE-LABlab(44.68, 39.48, -50.65)
CIE-LCHlch(44.68, 64.22, 307.93°)
OKLaboklab(53.97% 0.0748 -0.1435)
OKLCHoklch(53.97% 0.162 297.5)
XYZxyz(20.7403, 14.3129, 50.9501)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B54BF #98BF54
analogous
#5463BF #7B54BF #B154BF
triadic
#7B54BF #BF7B54 #54BF7B
tetradic
#7B54BF #BF5463 #98BF54 #54BFB1
square
#7B54BF #BF5463 #98BF54 #54BFB1
split-complementary
#7B54BF #BFB154 #63BF54
monochromatic
#432A6F #5E3A9C #7B54BF #9D81D0 #C0ADE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B54BF#FFFFFF#000000##FFFFFF
##7B54BF1.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)
#236AC3
Deuteranopia (green-blind)
#3168BD
Tritanopia (blue-blind)
#6C6A81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b54bf;
/* rgb */ color: rgb(123, 84, 191);
/* oklch */ color: oklch(54.0% 0.162 297.5);
Tailwind
colors: {
  custom: {
    50: '#a585d3',
    500: '#7b54bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b54bf;
$custom-light: #a585d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b54bf",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 261.869,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.16187,
    "h": 297.5
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#7B54BF
secondary
#BECEA1
accent
#D553A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7B54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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