#7F53DB#7F53DB

#7F53DB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.198 H 294.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7F53DB
RGBrgb(127, 83, 219)
HSLhsl(259, 65%, 59%)
HSVhsv(259, 62%, 86%)
CMYKcmyk(42%, 62.1%, 0%, 14.1%)
CIE-LABlab(46.73, 48.39, -63.44)
CIE-LCHlch(46.73, 79.78, 307.34°)
OKLaboklab(56.15% 0.0805 -0.181)
OKLCHoklch(56.15% 0.198 294)
XYZxyz(24.6284, 15.8124, 68.7586)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F53DB #AFDB53
analogous
#536BDB #7F53DB #C353DB
triadic
#7F53DB #DB7F53 #53DB7F
tetradic
#7F53DB #DB536B #AFDB53 #53DBC3
square
#7F53DB #DB536B #AFDB53 #53DBC3
split-complementary
#7F53DB #DBC353 #6BDB53
monochromatic
#451F95 #5D2AC7 #7F53DB #A586E6 #CAB8F0

Accessibility & contrast

On white

5.04
#7F53DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7F53DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F53DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F53DB#FFFFFF#000000##FFFFFF
##7F53DB1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#66728F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f53db;
/* rgb */ color: rgb(127, 83, 219);
/* oklch */ color: oklch(56.1% 0.198 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa85e7',
    500: '#7f53db',
    950: '#000000',
  },
}
SCSS
$custom: #7f53db;
$custom-light: #aa85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f53db",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 259.412,
    "s": 65.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.19807,
    "h": 294
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#7F53DB
secondary
#CEDFAA
accent
#E83FB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F53DB

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

Preview Lab → · Contrast checker → · Palette generator →

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