#7F5ADD#7F5ADD

#7F5ADD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.4% C 0.191 H 292.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7F5ADD
RGBrgb(127, 90, 221)
HSLhsl(257, 66%, 61%)
HSVhsv(257, 59%, 87%)
CMYKcmyk(42.5%, 59.3%, 0%, 13.3%)
CIE-LABlab(48.32, 45.07, -62.01)
CIE-LCHlch(48.32, 76.66, 306.01°)
OKLaboklab(57.35% 0.0726 -0.1768)
OKLCHoklch(57.35% 0.191 292.3)
XYZxyz(25.4561, 17.0441, 70.3412)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5ADD #B8DD5A
analogous
#5A76DD #7F5ADD #C15ADD
triadic
#7F5ADD #DD7F5A #5ADD7F
tetradic
#7F5ADD #DD5A76 #B8DD5A #5ADDC1
square
#7F5ADD #DD5A76 #B8DD5A #5ADDC1
split-complementary
#7F5ADD #DDC15A #76DD5A
monochromatic
#43209C #592BCF #7F5ADD #A68DE7 #CEBFF2

Accessibility & contrast

On white

4.76
#7F5ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7F5ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5ADD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5ADD#FFFFFF#000000##FFFFFF
##7F5ADD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#0470DA
Tritanopia (blue-blind)
#657793
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f5add;
/* rgb */ color: rgb(127, 90, 221);
/* oklch */ color: oklch(57.4% 0.191 292.3);
Tailwind
colors: {
  custom: {
    50: '#aa8ae8',
    500: '#7f5add',
    950: '#000000',
  },
}
SCSS
$custom: #7f5add;
$custom-light: #aa8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5add",
  "rgb": {
    "r": 127,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 256.947,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.19111,
    "h": 292.3
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#7F5ADD
secondary
#D4E2B1
accent
#CE189A
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7F5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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