#7B52DE#7B52DE

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

Color values

HEX#7B52DE
RGBrgb(123, 82, 222)
HSLhsl(258, 68%, 60%)
HSVhsv(258, 63%, 87%)
CMYKcmyk(44.6%, 63.1%, 0%, 12.9%)
CIE-LABlab(46.34, 48.94, -65.80)
CIE-LCHlch(46.34, 82.00, 306.64°)
OKLaboklab(55.84% 0.076 -0.1881)
OKLCHoklch(55.84% 0.203 292)
XYZxyz(24.3668, 15.5187, 70.8046)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52DE #B5DE52
analogous
#526FDE #7B52DE #C152DE
triadic
#7B52DE #DE7B52 #52DE7B
tetradic
#7B52DE #DE526F #B5DE52 #52DEC1
square
#7B52DE #DE526F #B5DE52 #52DEC1
split-complementary
#7B52DE #DEC152 #6FDE52
monochromatic
#411D99 #5727CC #7B52DE #A285E8 #C9B9F2

Accessibility & contrast

On white

5.12
#7B52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7B52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52DE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52DE#FFFFFF#000000##FFFFFF
##7B52DE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#5E7391
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b52de;
/* rgb */ color: rgb(123, 82, 222);
/* oklch */ color: oklch(55.8% 0.203 292.0);
Tailwind
colors: {
  custom: {
    50: '#a885e9',
    500: '#7b52de',
    950: '#000000',
  },
}
SCSS
$custom: #7b52de;
$custom-light: #a885e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52de",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 257.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.20283,
    "h": 292
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#7B52DE
secondary
#D1E1AB
accent
#EB3DB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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