#7D57D2#7D57D2

#7D57D2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.182 H 294.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D57D2
RGBrgb(125, 87, 210)
HSLhsl(259, 58%, 58%)
HSVhsv(259, 59%, 82%)
CMYKcmyk(40.5%, 58.6%, 0%, 17.6%)
CIE-LABlab(46.75, 43.33, -58.27)
CIE-LCHlch(46.75, 72.62, 306.63°)
OKLaboklab(55.92% 0.0737 -0.1659)
OKLCHoklch(55.92% 0.182 294)
XYZxyz(23.4954, 15.8289, 62.7777)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57D2 #ACD257
analogous
#576ED2 #7D57D2 #BB57D2
triadic
#7D57D2 #D27D57 #57D27D
tetradic
#7D57D2 #D2576E #ACD257 #57D2BB
square
#7D57D2 #D2576E #ACD257 #57D2BB
split-complementary
#7D57D2 #D2BB57 #6ED257
monochromatic
#44258A #5C32BA #7D57D2 #A287DF #C8B8EC

Accessibility & contrast

On white

5.04
#7D57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7D57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57D2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57D2#FFFFFF#000000##FFFFFF
##7D57D21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#1A6DCF
Tritanopia (blue-blind)
#67728C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d57d2;
/* rgb */ color: rgb(125, 87, 210);
/* oklch */ color: oklch(55.9% 0.182 294.0);
Tailwind
colors: {
  custom: {
    50: '#a888e0',
    500: '#7d57d2',
    950: '#000000',
  },
}
SCSS
$custom: #7d57d2;
$custom-light: #a888e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57d2",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 258.537,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.18152,
    "h": 294
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#7D57D2
secondary
#CCDBAA
accent
#E147B1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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