#7B57FD#7B57FD

#7B57FD is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.234 H 286.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B57FD
RGBrgb(123, 87, 253)
HSLhsl(253, 98%, 67%)
HSVhsv(253, 66%, 99%)
CMYKcmyk(51.4%, 65.6%, 0%, 0.8%)
CIE-LABlab(49.64, 54.84, -77.85)
CIE-LCHlch(49.64, 95.23, 305.16°)
OKLaboklab(58.95% 0.0677 -0.2235)
OKLCHoklch(58.95% 0.234 286.8)
XYZxyz(29.3009, 18.1177, 94.8626)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57FD #D9FD57
analogous
#5786FD #7B57FD #CE57FD
triadic
#7B57FD #FD7B57 #57FD7B
tetradic
#7B57FD #FD5786 #D9FD57 #57FDCE
square
#7B57FD #FD5786 #D9FD57 #57FDCE
split-complementary
#7B57FD #FDCE57 #86FD57
monochromatic
#3103D7 #4B1BFC #7B57FD #AB93FE #DAD0FE

Accessibility & contrast

On white

4.54
#7B57FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7B57FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B57FD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57FD#FFFFFF#000000##000000
##7B57FD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071FA
Tritanopia (blue-blind)
#4981A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b57fd;
/* rgb */ color: rgb(123, 87, 253);
/* oklch */ color: oklch(58.9% 0.234 286.8);
Tailwind
colors: {
  custom: {
    50: '#ac89ff',
    500: '#7b57fd',
    950: '#000000',
  },
}
SCSS
$custom: #7b57fd;
$custom-light: #ac89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57fd",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 253.012,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.23351,
    "h": 286.8
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#7B57FD
secondary
#E7F3BD
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7B57FD

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

Preview Lab → · Contrast checker → · Palette generator →

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