#7B52CF#7B52CF

#7B52CF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.185 H 294.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7B52CF
RGBrgb(123, 82, 207)
HSLhsl(260, 57%, 57%)
HSVhsv(260, 60%, 81%)
CMYKcmyk(40.6%, 60.4%, 0%, 18.8%)
CIE-LABlab(45.29, 44.87, -58.92)
CIE-LCHlch(45.29, 74.06, 307.29°)
OKLaboklab(54.75% 0.077 -0.1678)
OKLCHoklch(54.75% 0.185 294.6)
XYZxyz(22.4452, 14.7500, 60.6839)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52CF #A6CF52
analogous
#5268CF #7B52CF #BA52CF
triadic
#7B52CF #CF7B52 #52CF7B
tetradic
#7B52CF #CF5268 #A6CF52 #52CFBA
square
#7B52CF #CF5268 #A6CF52 #52CFBA
split-complementary
#7B52CF #CFBA52 #68CF52
monochromatic
#432482 #5C31B2 #7B52CF #A082DC #C4B2EA

Accessibility & contrast

On white

5.32
#7B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7B52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52CF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52CF#FFFFFF#000000##FFFFFF
##7B52CF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0A69CC
Tritanopia (blue-blind)
#656E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b52cf;
/* rgb */ color: rgb(123, 82, 207);
/* oklch */ color: oklch(54.7% 0.185 294.6);
Tailwind
colors: {
  custom: {
    50: '#a784de',
    500: '#7b52cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b52cf;
$custom-light: #a784de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52cf",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 259.68,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.18465,
    "h": 294.6
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#7B52CF
secondary
#C7D8A5
accent
#E048AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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