#7B57E9#7B57E9

#7B57E9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.210 H 289.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B57E9
RGBrgb(123, 87, 233)
HSLhsl(255, 77%, 63%)
HSVhsv(255, 63%, 91%)
CMYKcmyk(47.2%, 62.7%, 0%, 8.6%)
CIE-LABlab(48.15, 49.25, -69.08)
CIE-LCHlch(48.15, 84.84, 305.48°)
OKLaboklab(57.4% 0.0698 -0.1977)
OKLCHoklch(57.4% 0.21 289.5)
XYZxyz(26.2804, 16.9095, 78.9541)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57E9 #C5E957
analogous
#577CE9 #7B57E9 #C457E9
triadic
#7B57E9 #E97B57 #57E97B
tetradic
#7B57E9 #E9577C #C5E957 #57E9C4
square
#7B57E9 #E9577C #C5E957 #57E9C4
split-complementary
#7B57E9 #E9C457 #7CE957
monochromatic
#3C17AF #5021E2 #7B57E9 #A68DF0 #D0C3F7

Accessibility & contrast

On white

4.79
#7B57E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7B57E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57E9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57E9#FFFFFF#000000##FFFFFF
##7B57E91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#577A98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b57e9;
/* rgb */ color: rgb(123, 87, 233);
/* oklch */ color: oklch(57.4% 0.210 289.5);
Tailwind
colors: {
  custom: {
    50: '#a988f1',
    500: '#7b57e9',
    950: '#000000',
  },
}
SCSS
$custom: #7b57e9;
$custom-light: #a988f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57e9",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 254.795,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.574,
    "c": 0.2097,
    "h": 289.5
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#7B57E9
secondary
#DBE8B3
accent
#D90CA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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