#7B57EE#7B57EE

#7B57EE is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.216 H 288.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7B57EE
RGBrgb(123, 87, 238)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(48.3%, 63.4%, 0%, 6.7%)
CIE-LABlab(48.51, 50.64, -71.31)
CIE-LCHlch(48.51, 87.46, 305.38°)
OKLaboklab(57.78% 0.0694 -0.2043)
OKLCHoklch(57.78% 0.216 288.8)
XYZxyz(27.0047, 17.1992, 82.7692)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57EE #CAEE57
analogous
#577EEE #7B57EE #C757EE
triadic
#7B57EE #EE7B57 #57EE7B
tetradic
#7B57EE #EE577E #CAEE57 #57EEC7
square
#7B57EE #EE577E #CAEE57 #57EEC7
split-complementary
#7B57EE #EEC757 #7EEE57
monochromatic
#3A13B8 #4F1FE8 #7B57EE #A78FF4 #D2C6F9

Accessibility & contrast

On white

4.73
#7B57EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7B57EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57EE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57EE#FFFFFF#000000##FFFFFF
##7B57EE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#547B9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b57ee;
/* rgb */ color: rgb(123, 87, 238);
/* oklch */ color: oklch(57.8% 0.216 288.8);
Tailwind
colors: {
  custom: {
    50: '#aa88f5',
    500: '#7b57ee',
    950: '#000000',
  },
}
SCSS
$custom: #7b57ee;
$custom-light: #aa88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57ee",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 254.305,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.21572,
    "h": 288.8
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#7B57EE
secondary
#DEEBB6
accent
#DE08AB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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