#7E53BB#7E53BB

#7E53BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.159 H 300.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E53BB
RGBrgb(126, 83, 187)
HSLhsl(265, 43%, 53%)
HSVhsv(265, 56%, 73%)
CMYKcmyk(32.6%, 55.6%, 0%, 26.7%)
CIE-LABlab(44.53, 39.74, -48.54)
CIE-LCHlch(44.53, 62.73, 309.31°)
OKLaboklab(53.85% 0.0799 -0.1373)
OKLCHoklch(53.85% 0.159 300.2)
XYZxyz(20.6649, 14.2099, 48.6581)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E53BB #90BB53
analogous
#535CBB #7E53BB #B253BB
triadic
#7E53BB #BB7E53 #53BB7E
tetradic
#7E53BB #BB535C #90BB53 #53BBB2
square
#7E53BB #BB535C #90BB53 #53BBB2
split-complementary
#7E53BB #BBB253 #5CBB53
monochromatic
#442A6A #613B96 #7E53BB #9F7FCC #C0ABDE

Accessibility & contrast

On white

5.47
#7E53BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7E53BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E53BB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E53BB#FFFFFF#000000##FFFFFF
##7E53BB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#71687F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e53bb;
/* rgb */ color: rgb(126, 83, 187);
/* oklch */ color: oklch(53.9% 0.159 300.2);
Tailwind
colors: {
  custom: {
    50: '#a785d0',
    500: '#7e53bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e53bb;
$custom-light: #a785d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e53bb",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 187
  },
  "hsl": {
    "h": 264.808,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.15882,
    "h": 300.2
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#7E53BB
secondary
#B9CB9E
accent
#D3559F
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E53BB

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

Preview Lab → · Contrast checker → · Palette generator →

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