#7B52ED#7B52ED

#7B52ED is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.221 H 289.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7B52ED
RGBrgb(123, 82, 237)
HSLhsl(256, 81%, 63%)
HSVhsv(256, 65%, 93%)
CMYKcmyk(48.1%, 65.4%, 0%, 7.1%)
CIE-LABlab(47.44, 53.05, -72.48)
CIE-LCHlch(47.44, 89.82, 306.20°)
OKLaboklab(56.98% 0.0744 -0.2077)
OKLCHoklch(56.98% 0.221 289.7)
XYZxyz(26.4674, 16.3589, 81.8674)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52ED #C4ED52
analogous
#5276ED #7B52ED #C952ED
triadic
#7B52ED #ED7B52 #52ED7B
tetradic
#7B52ED #ED5276 #C4ED52 #52EDC9
square
#7B52ED #ED5276 #C4ED52 #52EDC9
split-complementary
#7B52ED #EDC952 #76ED52
monochromatic
#3D13B2 #511BE7 #7B52ED #A589F3 #D0C1F9

Accessibility & contrast

On white

4.92
#7B52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7B52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52ED
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52ED#FFFFFF#000000##FFFFFF
##7B52ED1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#557899
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b52ed;
/* rgb */ color: rgb(123, 82, 237);
/* oklch */ color: oklch(57.0% 0.221 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa85f4',
    500: '#7b52ed',
    950: '#000000',
  },
}
SCSS
$custom: #7b52ed;
$custom-light: #aa85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52ed",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 255.871,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.22062,
    "h": 289.7
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#7B52ED
secondary
#DBEAB1
accent
#DE08A5
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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