#7B57CD#7B57CD

#7B57CD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.175 H 294.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B57CD
RGBrgb(123, 87, 205)
HSLhsl(258, 54%, 57%)
HSVhsv(258, 58%, 80%)
CMYKcmyk(40%, 57.6%, 0%, 19.6%)
CIE-LABlab(46.22, 41.52, -56.26)
CIE-LCHlch(46.22, 69.92, 306.43°)
OKLaboklab(55.39% 0.0712 -0.16)
OKLCHoklch(55.39% 0.175 294)
XYZxyz(22.5931, 15.4346, 59.5346)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B57CD #A9CD57
analogous
#576ECD #7B57CD #B657CD
triadic
#7B57CD #CD7B57 #57CD7B
tetradic
#7B57CD #CD576E #A9CD57 #57CDB6
square
#7B57CD #CD576E #A9CD57 #57CDB6
split-complementary
#7B57CD #CDB657 #6ECD57
monochromatic
#432783 #5B35B2 #7B57CD #A086DB #C5B5E9

Accessibility & contrast

On white

5.14
#7B57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B57CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B57CD#FFFFFF#000000##FFFFFF
##7B57CD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD1
Deuteranopia (green-blind)
#226CCA
Tritanopia (blue-blind)
#66708A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b57cd;
/* rgb */ color: rgb(123, 87, 205);
/* oklch */ color: oklch(55.4% 0.175 294.0);
Tailwind
colors: {
  custom: {
    50: '#a688dd',
    500: '#7b57cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b57cd;
$custom-light: #a688dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b57cd",
  "rgb": {
    "r": 123,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 258.305,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.17515,
    "h": 294
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#7B57CD
secondary
#C9D8A8
accent
#DD4AB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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