#7F54F7#7F54F7

#7F54F7 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.230 H 289.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F54F7
RGBrgb(127, 84, 247)
HSLhsl(256, 91%, 65%)
HSVhsv(256, 66%, 97%)
CMYKcmyk(48.6%, 66%, 0%, 3.1%)
CIE-LABlab(48.97, 55.44, -75.59)
CIE-LCHlch(48.97, 93.74, 306.26°)
OKLaboklab(58.41% 0.0765 -0.2167)
OKLCHoklch(58.41% 0.23 289.4)
XYZxyz(28.7064, 17.5669, 89.8558)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F54F7 #CCF754
analogous
#547BF7 #7F54F7 #D054F7
triadic
#7F54F7 #F77F54 #54F77F
tetradic
#7F54F7 #F7547B #CCF754 #54F7D0
square
#7F54F7 #F7547B #CCF754 #54F7D0
split-complementary
#7F54F7 #F7D054 #7BF754
monochromatic
#3B09C7 #531AF4 #7F54F7 #AB8EFA #D7C9FC

Accessibility & contrast

On white

4.65
#7F54F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7F54F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F54F7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F54F7#FFFFFF#000000##FFFFFF
##7F54F71.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#567C9F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f54f7;
/* rgb */ color: rgb(127, 84, 247);
/* oklch */ color: oklch(58.4% 0.230 289.4);
Tailwind
colors: {
  custom: {
    50: '#ad87fb',
    500: '#7f54f7',
    950: '#000000',
  },
}
SCSS
$custom: #7f54f7;
$custom-light: #ad87fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f54f7",
  "rgb": {
    "r": 127,
    "g": 84,
    "b": 247
  },
  "hsl": {
    "h": 255.828,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.22981,
    "h": 289.4
  },
  "luminance": 0.17568
}

Semantic roles & 50–950 ramp

primary
#7F54F7
secondary
#E1EFB8
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7F54F7

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

Preview Lab → · Contrast checker → · Palette generator →

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