#7B57EB#7B57EB

#7B57EB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.212 H 289.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7B57EB
RGBrgb(123, 87, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(47.7%, 63%, 0%, 7.8%)
CIE-LABlab(48.29, 49.80, -69.98)
CIE-LCHlch(48.29, 85.89, 305.44°)
OKLaboklab(57.55% 0.0697 -0.2003)
OKLCHoklch(57.55% 0.212 289.2)
XYZxyz(26.5677, 17.0244, 80.4673)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57EB #C7EB57
analogous
#577DEB #7B57EB #C557EB
triadic
#7B57EB #EB7B57 #57EB7B
tetradic
#7B57EB #EB577D #C7EB57 #57EBC5
square
#7B57EB #EB577D #C7EB57 #57EBC5
split-complementary
#7B57EB #EBC557 #7DEB57
monochromatic
#3B15B2 #5020E4 #7B57EB #A68EF2 #D1C4F8

Accessibility & contrast

On white

4.77
#7B57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7B57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57EB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57EB#FFFFFF#000000##FFFFFF
##7B57EB1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#567A99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b57eb;
/* rgb */ color: rgb(123, 87, 235);
/* oklch */ color: oklch(57.6% 0.212 289.2);
Tailwind
colors: {
  custom: {
    50: '#a988f2',
    500: '#7b57eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b57eb;
$custom-light: #a988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57eb",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 254.595,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57551,
    "c": 0.21211,
    "h": 289.2
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#7B57EB
secondary
#DDE9B4
accent
#DB0AA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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