#7B52EB#7B52EB

#7B52EB is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.218 H 290.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B52EB
RGBrgb(123, 82, 235)
HSLhsl(256, 79%, 62%)
HSVhsv(256, 65%, 92%)
CMYKcmyk(47.7%, 65.1%, 0%, 7.8%)
CIE-LABlab(47.29, 52.50, -71.60)
CIE-LCHlch(47.29, 88.79, 306.25°)
OKLaboklab(56.83% 0.0746 -0.2051)
OKLCHoklch(56.83% 0.218 290)
XYZxyz(26.1768, 16.2427, 80.3370)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52EB #C2EB52
analogous
#5276EB #7B52EB #C752EB
triadic
#7B52EB #EB7B52 #52EB7B
tetradic
#7B52EB #EB5276 #C2EB52 #52EBC7
square
#7B52EB #EB5276 #C2EB52 #52EBC7
split-complementary
#7B52EB #EBC752 #76EB52
monochromatic
#3E14AE #511BE5 #7B52EB #A589F1 #CFC0F8

Accessibility & contrast

On white

4.94
#7B52EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7B52EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52EB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52EB#FFFFFF#000000##FFFFFF
##7B52EB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#567798
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b52eb;
/* rgb */ color: rgb(123, 82, 235);
/* oklch */ color: oklch(56.8% 0.218 290.0);
Tailwind
colors: {
  custom: {
    50: '#aa85f2',
    500: '#7b52eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b52eb;
$custom-light: #aa85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52eb",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 256.078,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.21827,
    "h": 290
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#7B52EB
secondary
#D9E8B0
accent
#DC0AA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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