#7B57EC#7B57EC

#7B57EC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.213 H 289.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7B57EC
RGBrgb(123, 87, 236)
HSLhsl(254, 80%, 63%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(47.9%, 63.1%, 0%, 7.5%)
CIE-LABlab(48.36, 50.08, -70.42)
CIE-LCHlch(48.36, 86.41, 305.42°)
OKLaboklab(57.63% 0.0696 -0.2016)
OKLCHoklch(57.63% 0.213 289)
XYZxyz(26.7125, 17.0824, 81.2303)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57EC #C8EC57
analogous
#577DEC #7B57EC #C657EC
triadic
#7B57EC #EC7B57 #57EC7B
tetradic
#7B57EC #EC577D #C8EC57 #57ECC6
square
#7B57EC #EC577D #C8EC57 #57ECC6
split-complementary
#7B57EC #ECC657 #7DEC57
monochromatic
#3B14B4 #5020E6 #7B57EC #A68EF2 #D1C5F8

Accessibility & contrast

On white

4.75
#7B57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7B57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57EC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57EC#FFFFFF#000000##FFFFFF
##7B57EC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#557B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b57ec;
/* rgb */ color: rgb(123, 87, 236);
/* oklch */ color: oklch(57.6% 0.213 289.0);
Tailwind
colors: {
  custom: {
    50: '#a988f3',
    500: '#7b57ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b57ec;
$custom-light: #a988f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57ec",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 254.497,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.21331,
    "h": 289
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#7B57EC
secondary
#DDEAB5
accent
#DC0AA9
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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