#7F57FA#7F57FA

#7F57FA is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.1% C 0.230 H 288.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F57FA
RGBrgb(127, 87, 250)
HSLhsl(255, 94%, 66%)
HSVhsv(255, 65%, 98%)
CMYKcmyk(49.2%, 65.2%, 0%, 2%)
CIE-LABlab(49.77, 54.69, -75.94)
CIE-LCHlch(49.77, 93.58, 305.76°)
OKLaboklab(59.06% 0.0733 -0.2178)
OKLCHoklch(59.06% 0.23 288.6)
XYZxyz(29.4109, 18.2292, 92.3929)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F57FA #D2FA57
analogous
#5780FA #7F57FA #D057FA
triadic
#7F57FA #FA7F57 #57FA7F
tetradic
#7F57FA #FA5780 #D2FA57 #57FAD0
square
#7F57FA #FA5780 #D2FA57 #57FAD0
split-complementary
#7F57FA #FAD057 #80FA57
monochromatic
#3806D0 #521CF8 #7F57FA #AC92FC #DACEFE

Accessibility & contrast

On white

4.52
#7F57FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7F57FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F57FA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F57FA#FFFFFF#000000##000000
##7F57FA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072F7
Tritanopia (blue-blind)
#547FA1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f57fa;
/* rgb */ color: rgb(127, 87, 250);
/* oklch */ color: oklch(59.1% 0.230 288.6);
Tailwind
colors: {
  custom: {
    50: '#ad89fd',
    500: '#7f57fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f57fa;
$custom-light: #ad89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f57fa",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 254.724,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59059,
    "c": 0.22978,
    "h": 288.6
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

primary
#7F57FA
secondary
#E4F1BC
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7F57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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