#7F57F5#7F57F5

#7F57F5 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.224 H 289.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7F57F5
RGBrgb(127, 87, 245)
HSLhsl(255, 89%, 65%)
HSVhsv(255, 64%, 96%)
CMYKcmyk(48.2%, 64.5%, 0%, 3.9%)
CIE-LABlab(49.40, 53.31, -73.76)
CIE-LCHlch(49.40, 91.01, 305.85°)
OKLaboklab(58.67% 0.0739 -0.2114)
OKLCHoklch(58.67% 0.224 289.3)
XYZxyz(28.6373, 17.9198, 88.3185)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57F5 #CDF557
analogous
#577EF5 #7F57F5 #CE57F5
triadic
#7F57F5 #F57F57 #57F57F
tetradic
#7F57F5 #F5577E #CDF557 #57F5CE
square
#7F57F5 #F5577E #CDF557 #57F5CE
split-complementary
#7F57F5 #F5CE57 #7EF557
monochromatic
#3B0CC6 #531DF2 #7F57F5 #AB91F8 #D7CBFC

Accessibility & contrast

On white

4.58
#7F57F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7F57F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F57F5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57F5#FFFFFF#000000##000000
##7F57F51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#577D9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f57f5;
/* rgb */ color: rgb(127, 87, 245);
/* oklch */ color: oklch(58.7% 0.224 289.3);
Tailwind
colors: {
  custom: {
    50: '#ad89f9',
    500: '#7f57f5',
    950: '#000000',
  },
}
SCSS
$custom: #7f57f5;
$custom-light: #ad89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57f5",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 255.19,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.22391,
    "h": 289.3
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#7F57F5
secondary
#E1EFB9
accent
#E500AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F57F5

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

Preview Lab → · Contrast checker → · Palette generator →

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