#7B57DB#7B57DB

#7B57DB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.193 H 291.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7B57DB
RGBrgb(123, 87, 219)
HSLhsl(256, 65%, 60%)
HSVhsv(256, 60%, 86%)
CMYKcmyk(43.8%, 60.3%, 0%, 14.1%)
CIE-LABlab(47.16, 45.36, -62.76)
CIE-LCHlch(47.16, 77.43, 305.86°)
OKLaboklab(56.37% 0.0708 -0.1791)
OKLCHoklch(56.37% 0.193 291.6)
XYZxyz(24.3592, 16.1410, 68.8362)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57DB #B7DB57
analogous
#5775DB #7B57DB #BD57DB
triadic
#7B57DB #DB7B57 #57DB7B
tetradic
#7B57DB #DB5775 #B7DB57 #57DBBD
square
#7B57DB #DB5775 #B7DB57 #57DBBD
split-complementary
#7B57DB #DBBD57 #75DB57
monochromatic
#412097 #562BCA #7B57DB #A389E6 #CABCF1

Accessibility & contrast

On white

4.97
#7B57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7B57DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57DB#FFFFFF#000000##FFFFFF
##7B57DB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#5F7591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b57db;
/* rgb */ color: rgb(123, 87, 219);
/* oklch */ color: oklch(56.4% 0.193 291.6);
Tailwind
colors: {
  custom: {
    50: '#a888e7',
    500: '#7b57db',
    950: '#000000',
  },
}
SCSS
$custom: #7b57db;
$custom-light: #a888e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57db",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 256.364,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.1926,
    "h": 291.6
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#7B57DB
secondary
#D2E0AD
accent
#E840BA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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