#7B52DD#7B52DD

#7B52DD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.8% C 0.202 H 292.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B52DD
RGBrgb(123, 82, 221)
HSLhsl(258, 67%, 59%)
HSVhsv(258, 63%, 87%)
CMYKcmyk(44.3%, 62.9%, 0%, 13.3%)
CIE-LABlab(46.26, 48.67, -65.34)
CIE-LCHlch(46.26, 81.48, 306.68°)
OKLaboklab(55.76% 0.0761 -0.1867)
OKLCHoklch(55.76% 0.202 292.2)
XYZxyz(24.2332, 15.4652, 70.1009)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52DD #B4DD52
analogous
#526FDD #7B52DD #C152DD
triadic
#7B52DD #DD7B52 #52DD7B
tetradic
#7B52DD #DD526F #B4DD52 #52DDC1
square
#7B52DD #DD526F #B4DD52 #52DDC1
split-complementary
#7B52DD #DDC152 #6FDD52
monochromatic
#411E97 #5828CA #7B52DD #A285E7 #C9B8F1

Accessibility & contrast

On white

5.13
#7B52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52DD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52DD#FFFFFF#000000##FFFFFF
##7B52DD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#5E7290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b52dd;
/* rgb */ color: rgb(123, 82, 221);
/* oklch */ color: oklch(55.8% 0.202 292.2);
Tailwind
colors: {
  custom: {
    50: '#a885e8',
    500: '#7b52dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b52dd;
$custom-light: #a885e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52dd",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 257.698,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.20162,
    "h": 292.2
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#7B52DD
secondary
#D1E0AA
accent
#EA3EB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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