#7F52BC#7F52BC

#7F52BC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.162 H 300.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7F52BC
RGBrgb(127, 82, 188)
HSLhsl(265, 44%, 53%)
HSVhsv(265, 56%, 74%)
CMYKcmyk(32.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(44.49, 40.81, -49.19)
CIE-LCHlch(44.49, 63.92, 309.68°)
OKLaboklab(53.86% 0.0825 -0.1391)
OKLCHoklch(53.86% 0.162 300.7)
XYZxyz(20.8446, 14.1773, 49.2055)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F52BC #8FBC52
analogous
#525ABC #7F52BC #B452BC
triadic
#7F52BC #BC7F52 #52BC7F
tetradic
#7F52BC #BC525A #8FBC52 #52BCB4
square
#7F52BC #BC525A #8FBC52 #52BCB4
split-complementary
#7F52BC #BCB452 #5ABC52
monochromatic
#45296A #613A97 #7F52BC #A07ECD #C0AADE

Accessibility & contrast

On white

5.48
#7F52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7F52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F52BC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F52BC#FFFFFF#000000##FFFFFF
##7F52BC1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#73677F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f52bc;
/* rgb */ color: rgb(127, 82, 188);
/* oklch */ color: oklch(53.9% 0.162 300.7);
Tailwind
colors: {
  custom: {
    50: '#a884d1',
    500: '#7f52bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f52bc;
$custom-light: #a884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f52bc",
  "rgb": {
    "r": 127,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 265.472,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53863,
    "c": 0.16176,
    "h": 300.7
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#7F52BC
secondary
#B8CC9E
accent
#D4549E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7F52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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