#7D57BE#7D57BE

#7D57BE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.156 H 298.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7D57BE
RGBrgb(125, 87, 190)
HSLhsl(262, 44%, 54%)
HSVhsv(262, 54%, 75%)
CMYKcmyk(34.2%, 54.2%, 0%, 25.5%)
CIE-LABlab(45.49, 37.99, -48.76)
CIE-LCHlch(45.49, 61.81, 307.92°)
OKLaboklab(54.59% 0.0735 -0.1379)
OKLCHoklch(54.59% 0.156 298.1)
XYZxyz(21.1576, 14.8938, 50.4653)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D57BE #98BE57
analogous
#5765BE #7D57BE #B157BE
triadic
#7D57BE #BE7D57 #57BE7D
tetradic
#7D57BE #BE5765 #98BE57 #57BEB1
square
#7D57BE #BE5765 #98BE57 #57BEB1
split-complementary
#7D57BE #BEB157 #65BE57
monochromatic
#442B6F #5F3C9C #7D57BE #9F83CF #C1AFE0

Accessibility & contrast

On white

5.28
#7D57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7D57BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D57BE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D57BE#FFFFFF#000000##FFFFFF
##7D57BE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC1
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#6F6C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d57be;
/* rgb */ color: rgb(125, 87, 190);
/* oklch */ color: oklch(54.6% 0.156 298.1);
Tailwind
colors: {
  custom: {
    50: '#a687d2',
    500: '#7d57be',
    950: '#000000',
  },
}
SCSS
$custom: #7d57be;
$custom-light: #a687d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d57be",
  "rgb": {
    "r": 125,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 262.136,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.15632,
    "h": 298.1
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#7D57BE
secondary
#BECEA3
accent
#D454A5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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