#7F54DE#7F54DE

#7F54DE is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.5% C 0.200 H 293.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7F54DE
RGBrgb(127, 84, 222)
HSLhsl(259, 68%, 60%)
HSVhsv(259, 62%, 87%)
CMYKcmyk(42.8%, 62.2%, 0%, 12.9%)
CIE-LABlab(47.14, 48.65, -64.48)
CIE-LCHlch(47.14, 80.77, 307.04°)
OKLaboklab(56.51% 0.0792 -0.184)
OKLCHoklch(56.51% 0.2 293.3)
XYZxyz(25.1040, 16.1259, 70.8830)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F54DE #B3DE54
analogous
#546EDE #7F54DE #C454DE
triadic
#7F54DE #DE7F54 #54DE7F
tetradic
#7F54DE #DE546E #B3DE54 #54DEC4
square
#7F54DE #DE546E #B3DE54 #54DEC4
split-complementary
#7F54DE #DEC454 #6EDE54
monochromatic
#441E9A #5B28CD #7F54DE #A587E8 #CCBBF2

Accessibility & contrast

On white

4.97
#7F54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7F54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F54DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F54DE#FFFFFF#000000##FFFFFF
##7F54DE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#657491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f54de;
/* rgb */ color: rgb(127, 84, 222);
/* oklch */ color: oklch(56.5% 0.200 293.3);
Tailwind
colors: {
  custom: {
    50: '#ab86e9',
    500: '#7f54de',
    950: '#000000',
  },
}
SCSS
$custom: #7f54de;
$custom-light: #ab86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f54de",
  "rgb": {
    "r": 127,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 258.696,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.20035,
    "h": 293.3
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#7F54DE
secondary
#D1E1AC
accent
#EB3DB5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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