#7B52EF#7B52EF

#7B52EF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.223 H 289.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7B52EF
RGBrgb(123, 82, 239)
HSLhsl(256, 83%, 63%)
HSVhsv(256, 66%, 94%)
CMYKcmyk(48.5%, 65.7%, 0%, 6.3%)
CIE-LABlab(47.59, 53.60, -73.36)
CIE-LCHlch(47.59, 90.86, 306.16°)
OKLaboklab(57.14% 0.0741 -0.2103)
OKLCHoklch(57.14% 0.223 289.4)
XYZxyz(26.7612, 16.4764, 83.4148)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52EF #C6EF52
analogous
#5277EF #7B52EF #CA52EF
triadic
#7B52EF #EF7B52 #52EF7B
tetradic
#7B52EF #EF5277 #C6EF52 #52EFCA
square
#7B52EF #EF5277 #C6EF52 #52EFCA
split-complementary
#7B52EF #EFCA52 #77EF52
monochromatic
#3C11B6 #501AEA #7B52EF #A68AF4 #D0C2F9

Accessibility & contrast

On white

4.89
#7B52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7B52EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52EF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52EF#FFFFFF#000000##FFFFFF
##7B52EF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#54799A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b52ef;
/* rgb */ color: rgb(123, 82, 239);
/* oklch */ color: oklch(57.1% 0.223 289.4);
Tailwind
colors: {
  custom: {
    50: '#aa85f5',
    500: '#7b52ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b52ef;
$custom-light: #aa85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52ef",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 255.669,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.22296,
    "h": 289.4
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#7B52EF
secondary
#DCEBB2
accent
#DF06A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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