#7F53DC#7F53DC

#7F53DC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.199 H 293.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7F53DC
RGBrgb(127, 83, 220)
HSLhsl(259, 66%, 59%)
HSVhsv(259, 62%, 86%)
CMYKcmyk(42.3%, 62.3%, 0%, 13.7%)
CIE-LABlab(46.80, 48.66, -63.89)
CIE-LCHlch(46.80, 80.31, 307.29°)
OKLaboklab(56.22% 0.0804 -0.1823)
OKLCHoklch(56.22% 0.199 293.8)
XYZxyz(24.7604, 15.8652, 69.4540)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F53DC #B0DC53
analogous
#536CDC #7F53DC #C453DC
triadic
#7F53DC #DC7F53 #53DC7F
tetradic
#7F53DC #DC536C #B0DC53 #53DCC4
square
#7F53DC #DC536C #B0DC53 #53DCC4
split-complementary
#7F53DC #DCC453 #6CDC53
monochromatic
#451F96 #5C29C9 #7F53DC #A586E6 #CBB9F1

Accessibility & contrast

On white

5.03
#7F53DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7F53DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F53DC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F53DC#FFFFFF#000000##FFFFFF
##7F53DC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#667290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f53dc;
/* rgb */ color: rgb(127, 83, 220);
/* oklch */ color: oklch(56.2% 0.199 293.8);
Tailwind
colors: {
  custom: {
    50: '#aa85e8',
    500: '#7f53dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f53dc;
$custom-light: #aa85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f53dc",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 220
  },
  "hsl": {
    "h": 259.27,
    "s": 66.184,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.19927,
    "h": 293.8
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#7F53DC
secondary
#CFE0AB
accent
#E93FB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F53DC

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

Preview Lab → · Contrast checker → · Palette generator →

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