#7F53EC#7F53EC

#7F53EC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.218 H 291.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7F53EC
RGBrgb(127, 83, 236)
HSLhsl(257, 80%, 63%)
HSVhsv(257, 65%, 93%)
CMYKcmyk(46.2%, 64.8%, 0%, 7.5%)
CIE-LABlab(47.95, 52.97, -71.08)
CIE-LCHlch(47.95, 88.65, 306.70°)
OKLaboklab(57.42% 0.0788 -0.2035)
OKLCHoklch(57.42% 0.218 291.2)
XYZxyz(26.9817, 16.7537, 81.1528)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F53EC #C0EC53
analogous
#5373EC #7F53EC #CC53EC
triadic
#7F53EC #EC7F53 #53EC7F
tetradic
#7F53EC #EC5373 #C0EC53 #53ECCC
square
#7F53EC #EC5373 #C0EC53 #53ECCC
split-complementary
#7F53EC #ECCC53 #73EC53
monochromatic
#4114B1 #561CE6 #7F53EC #A88AF2 #D1C1F8

Accessibility & contrast

On white

4.83
#7F53EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7F53EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F53EC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F53EC#FFFFFF#000000##FFFFFF
##7F53EC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#5D7898
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f53ec;
/* rgb */ color: rgb(127, 83, 236);
/* oklch */ color: oklch(57.4% 0.218 291.2);
Tailwind
colors: {
  custom: {
    50: '#ac86f3',
    500: '#7f53ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f53ec;
$custom-light: #ac86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f53ec",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 236
  },
  "hsl": {
    "h": 257.255,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.2182,
    "h": 291.2
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#7F53EC
secondary
#D9E9B2
accent
#DC09A0
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F53EC

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

Preview Lab → · Contrast checker → · Palette generator →

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