#7B57DC#7B57DC

#7B57DC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.194 H 291.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B57DC
RGBrgb(123, 87, 220)
HSLhsl(256, 66%, 60%)
HSVhsv(256, 60%, 86%)
CMYKcmyk(44.1%, 60.5%, 0%, 13.7%)
CIE-LABlab(47.23, 45.64, -63.21)
CIE-LCHlch(47.23, 77.97, 305.83°)
OKLaboklab(56.44% 0.0707 -0.1805)
OKLCHoklch(56.44% 0.194 291.4)
XYZxyz(24.4913, 16.1938, 69.5316)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57DC #B8DC57
analogous
#5775DC #7B57DC #BE57DC
triadic
#7B57DC #DC7B57 #57DC7B
tetradic
#7B57DC #DC5775 #B8DC57 #57DCBE
square
#7B57DC #DC5775 #B8DC57 #57DCBE
split-complementary
#7B57DC #DCBE57 #75DC57
monochromatic
#412099 #562ACB #7B57DC #A38AE7 #CBBCF1

Accessibility & contrast

On white

4.95
#7B57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57DC#FFFFFF#000000##FFFFFF
##7B57DC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b57dc;
/* rgb */ color: rgb(123, 87, 220);
/* oklch */ color: oklch(56.4% 0.194 291.4);
Tailwind
colors: {
  custom: {
    50: '#a888e8',
    500: '#7b57dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b57dc;
$custom-light: #a888e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57dc",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 256.241,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.19384,
    "h": 291.4
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#7B57DC
secondary
#D3E1AE
accent
#CD189C
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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