#7B57E4#7B57E4

#7B57E4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.0% C 0.204 H 290.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7B57E4
RGBrgb(123, 87, 228)
HSLhsl(255, 72%, 62%)
HSVhsv(255, 62%, 89%)
CMYKcmyk(46.1%, 61.8%, 0%, 10.6%)
CIE-LABlab(47.79, 47.86, -66.84)
CIE-LCHlch(47.79, 82.21, 305.60°)
OKLaboklab(57.03% 0.0702 -0.1911)
OKLCHoklch(57.03% 0.204 290.2)
XYZxyz(25.5762, 16.6278, 75.2456)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57E4 #C0E457
analogous
#577AE4 #7B57E4 #C257E4
triadic
#7B57E4 #E47B57 #57E47B
tetradic
#7B57E4 #E4577A #C0E457 #57E4C2
square
#7B57E4 #E4577A #C0E457 #57E4C2
split-complementary
#7B57E4 #E4C257 #7AE457
monochromatic
#3E1BA6 #5223DB #7B57E4 #A48CEC #CEC0F5

Accessibility & contrast

On white

4.85
#7B57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7B57E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57E4#FFFFFF#000000##FFFFFF
##7B57E41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#5A7895
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b57e4;
/* rgb */ color: rgb(123, 87, 228);
/* oklch */ color: oklch(57.0% 0.204 290.2);
Tailwind
colors: {
  custom: {
    50: '#a988ed',
    500: '#7b57e4',
    950: '#000000',
  },
}
SCSS
$custom: #7b57e4;
$custom-light: #a988ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57e4",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 255.319,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.20364,
    "h": 290.2
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#7B57E4
secondary
#D8E6B1
accent
#D411A3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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