#7F57F7#7F57F7

#7F57F7 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.226 H 289.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F57F7
RGBrgb(127, 87, 247)
HSLhsl(255, 91%, 65%)
HSVhsv(255, 65%, 97%)
CMYKcmyk(48.6%, 64.8%, 0%, 3.1%)
CIE-LABlab(49.55, 53.86, -74.64)
CIE-LCHlch(49.55, 92.04, 305.81°)
OKLaboklab(58.83% 0.0737 -0.2139)
OKLCHoklch(58.83% 0.226 289)
XYZxyz(28.9442, 18.0426, 89.9351)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57F7 #CFF757
analogous
#577FF7 #7F57F7 #CF57F7
triadic
#7F57F7 #F77F57 #57F77F
tetradic
#7F57F7 #F7577F #CFF757 #57F7CF
square
#7F57F7 #F7577F #CFF757 #57F7CF
split-complementary
#7F57F7 #F7CF57 #7FF757
monochromatic
#3A0ACA #521DF4 #7F57F7 #AC91FA #D8CCFD

Accessibility & contrast

On white

4.56
#7F57F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7F57F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F57F7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57F7#FFFFFF#000000##000000
##7F57F71.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0072F4
Tritanopia (blue-blind)
#567EA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f57f7;
/* rgb */ color: rgb(127, 87, 247);
/* oklch */ color: oklch(58.8% 0.226 289.0);
Tailwind
colors: {
  custom: {
    50: '#ad89fb',
    500: '#7f57f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f57f7;
$custom-light: #ad89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57f7",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 247
  },
  "hsl": {
    "h": 255,
    "s": 90.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.22626,
    "h": 289
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#7F57F7
secondary
#E2F0BA
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F57F7

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

Preview Lab → · Contrast checker → · Palette generator →

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