#7F57DC#7F57DC

#7F57DC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.194 H 293.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7F57DC
RGBrgb(127, 87, 220)
HSLhsl(258, 66%, 60%)
HSVhsv(258, 60%, 86%)
CMYKcmyk(42.3%, 60.5%, 0%, 13.7%)
CIE-LABlab(47.62, 46.47, -62.57)
CIE-LCHlch(47.62, 77.93, 306.60°)
OKLaboklab(56.82% 0.076 -0.1784)
OKLCHoklch(56.82% 0.194 293.1)
XYZxyz(25.0754, 16.4950, 69.5590)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57DC #B4DC57
analogous
#5772DC #7F57DC #C157DC
triadic
#7F57DC #DC7F57 #57DC7F
tetradic
#7F57DC #DC5772 #B4DC57 #57DCC1
square
#7F57DC #DC5772 #B4DC57 #57DCC1
split-complementary
#7F57DC #DCC157 #72DC57
monochromatic
#442099 #5B2ACB #7F57DC #A68AE7 #CCBCF1

Accessibility & contrast

On white

4.88
#7F57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7F57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F57DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57DC#FFFFFF#000000##FFFFFF
##7F57DC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#657591
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f57dc;
/* rgb */ color: rgb(127, 87, 220);
/* oklch */ color: oklch(56.8% 0.194 293.1);
Tailwind
colors: {
  custom: {
    50: '#aa88e8',
    500: '#7f57dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f57dc;
$custom-light: #aa88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57dc",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 258.045,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.19394,
    "h": 293.1
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#7F57DC
secondary
#D2E1AE
accent
#CD1897
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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