#7B57CF#7B57CF

#7B57CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.178 H 293.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7B57CF
RGBrgb(123, 87, 207)
HSLhsl(258, 56%, 58%)
HSVhsv(258, 58%, 81%)
CMYKcmyk(40.6%, 58%, 0%, 18.8%)
CIE-LABlab(46.35, 42.07, -57.20)
CIE-LCHlch(46.35, 71.00, 306.33°)
OKLaboklab(55.53% 0.0712 -0.1628)
OKLCHoklch(55.53% 0.178 293.6)
XYZxyz(22.8360, 15.5318, 60.8141)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57CF #ABCF57
analogous
#576FCF #7B57CF #B757CF
triadic
#7B57CF #CF7B57 #57CF7B
tetradic
#7B57CF #CF576F #ABCF57 #57CFB7
square
#7B57CF #CF576F #ABCF57 #57CFB7
split-complementary
#7B57CF #CFB757 #6FCF57
monochromatic
#432685 #5B34B5 #7B57CF #A087DD #C6B6EA

Accessibility & contrast

On white

5.11
#7B57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7B57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57CF#FFFFFF#000000##FFFFFF
##7B57CF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#1D6CCC
Tritanopia (blue-blind)
#65718B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b57cf;
/* rgb */ color: rgb(123, 87, 207);
/* oklch */ color: oklch(55.5% 0.178 293.6);
Tailwind
colors: {
  custom: {
    50: '#a688de',
    500: '#7b57cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b57cf;
$custom-light: #a688de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57cf",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 258,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.17766,
    "h": 293.6
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#7B57CF
secondary
#CBD9A9
accent
#DF49B2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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