#7F53E8#7F53E8

#7F53E8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.214 H 291.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7F53E8
RGBrgb(127, 83, 232)
HSLhsl(258, 76%, 62%)
HSVhsv(258, 64%, 91%)
CMYKcmyk(45.3%, 64.2%, 0%, 9%)
CIE-LABlab(47.65, 51.89, -69.30)
CIE-LCHlch(47.65, 86.57, 306.82°)
OKLaboklab(57.11% 0.0793 -0.1982)
OKLCHoklch(57.11% 0.214 291.8)
XYZxyz(26.4071, 16.5239, 78.1263)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F53E8 #BCE853
analogous
#5372E8 #7F53E8 #C953E8
triadic
#7F53E8 #E87F53 #53E87F
tetradic
#7F53E8 #E85372 #BCE853 #53E8C9
square
#7F53E8 #E85372 #BCE853 #53E8C9
split-complementary
#7F53E8 #E8C953 #72E853
monochromatic
#4217AA #571EE0 #7F53E8 #A789EF #CFBFF6

Accessibility & contrast

On white

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

On black

4.31
#7F53E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F53E8#FFFFFF#000000##FFFFFF
##7F53E81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#5F7796
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f53e8;
/* rgb */ color: rgb(127, 83, 232);
/* oklch */ color: oklch(57.1% 0.214 291.8);
Tailwind
colors: {
  custom: {
    50: '#ac86f0',
    500: '#7f53e8',
    950: '#000000',
  },
}
SCSS
$custom: #7f53e8;
$custom-light: #ac86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f53e8",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 232
  },
  "hsl": {
    "h": 257.718,
    "s": 76.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.21351,
    "h": 291.8
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#7F53E8
secondary
#D7E7B0
accent
#D90D9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F53E8

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

Preview Lab → · Contrast checker → · Palette generator →

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