#7E57CD#7E57CD

#7E57CD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.175 H 295.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E57CD
RGBrgb(126, 87, 205)
HSLhsl(260, 54%, 57%)
HSVhsv(260, 58%, 80%)
CMYKcmyk(38.5%, 57.6%, 0%, 19.6%)
CIE-LABlab(46.52, 42.21, -55.76)
CIE-LCHlch(46.52, 69.93, 307.12°)
OKLaboklab(55.68% 0.0751 -0.1585)
OKLCHoklch(55.68% 0.175 295.4)
XYZxyz(23.0290, 15.6593, 59.5550)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E57CD #A6CD57
analogous
#576BCD #7E57CD #B957CD
triadic
#7E57CD #CD7E57 #57CD7E
tetradic
#7E57CD #CD576B #A6CD57 #57CDB9
square
#7E57CD #CD576B #A6CD57 #57CDB9
split-complementary
#7E57CD #CDB957 #6BCD57
monochromatic
#452783 #5E35B2 #7E57CD #A286DB #C6B5E9

Accessibility & contrast

On white

5.08
#7E57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E57CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E57CD#FFFFFF#000000##FFFFFF
##7E57CD1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#266DCA
Tritanopia (blue-blind)
#6A708A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e57cd;
/* rgb */ color: rgb(126, 87, 205);
/* oklch */ color: oklch(55.7% 0.175 295.4);
Tailwind
colors: {
  custom: {
    50: '#a888dd',
    500: '#7e57cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e57cd;
$custom-light: #a888dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e57cd",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 259.831,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.17536,
    "h": 295.4
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#7E57CD
secondary
#C8D8A8
accent
#DD4AAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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