#7B57EF#7B57EF

#7B57EF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.217 H 288.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B57EF
RGBrgb(123, 87, 239)
HSLhsl(254, 83%, 64%)
HSVhsv(254, 64%, 94%)
CMYKcmyk(48.5%, 63.6%, 0%, 6.3%)
CIE-LABlab(48.58, 50.92, -71.75)
CIE-LCHlch(48.58, 87.98, 305.37°)
OKLaboklab(57.86% 0.0693 -0.2056)
OKLCHoklch(57.86% 0.217 288.6)
XYZxyz(27.1521, 17.2582, 83.5451)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57EF #CBEF57
analogous
#577FEF #7B57EF #C757EF
triadic
#7B57EF #EF7B57 #57EF7B
tetradic
#7B57EF #EF577F #CBEF57 #57EFC7
square
#7B57EF #EF577F #CBEF57 #57EFC7
split-complementary
#7B57EF #EFC757 #7FEF57
monochromatic
#3A12BA #4F1FEA #7B57EF #A78FF4 #D3C7FA

Accessibility & contrast

On white

4.72
#7B57EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7B57EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57EF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57EF#FFFFFF#000000##FFFFFF
##7B57EF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#537C9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b57ef;
/* rgb */ color: rgb(123, 87, 239);
/* oklch */ color: oklch(57.9% 0.217 288.6);
Tailwind
colors: {
  custom: {
    50: '#aa88f5',
    500: '#7b57ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b57ef;
$custom-light: #aa88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57ef",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 254.211,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.21692,
    "h": 288.6
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#7B57EF
secondary
#DFECB6
accent
#DF06AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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