#7B54DF#7B54DF

#7B54DF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.2% C 0.201 H 291.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B54DF
RGBrgb(123, 84, 223)
HSLhsl(257, 68%, 60%)
HSVhsv(257, 62%, 87%)
CMYKcmyk(44.8%, 62.3%, 0%, 12.5%)
CIE-LABlab(46.81, 48.12, -65.59)
CIE-LCHlch(46.81, 81.35, 306.27°)
OKLaboklab(56.21% 0.0738 -0.1874)
OKLCHoklch(56.21% 0.201 291.5)
XYZxyz(24.6543, 15.8785, 71.5636)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B54DF #B8DF54
analogous
#5472DF #7B54DF #C154DF
triadic
#7B54DF #DF7B54 #54DF7B
tetradic
#7B54DF #DF5472 #B8DF54 #54DFC1
square
#7B54DF #DF5472 #B8DF54 #54DFC1
split-complementary
#7B54DF #DFC154 #72DF54
monochromatic
#411D9C #5627CF #7B54DF #A388E9 #CBBBF2

Accessibility & contrast

On white

5.03
#7B54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7B54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B54DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B54DF#FFFFFF#000000##FFFFFF
##7B54DF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#5D7492
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b54df;
/* rgb */ color: rgb(123, 84, 223);
/* oklch */ color: oklch(56.2% 0.201 291.5);
Tailwind
colors: {
  custom: {
    50: '#a886ea',
    500: '#7b54df',
    950: '#000000',
  },
}
SCSS
$custom: #7b54df;
$custom-light: #a886ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7b54df",
  "rgb": {
    "r": 123,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 256.835,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.20145,
    "h": 291.5
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#7B54DF
secondary
#D3E2AD
accent
#D0159C
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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