#7B52DA#7B52DA

#7B52DA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.198 H 292.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7B52DA
RGBrgb(123, 82, 218)
HSLhsl(258, 65%, 59%)
HSVhsv(258, 62%, 85%)
CMYKcmyk(43.6%, 62.4%, 0%, 14.5%)
CIE-LABlab(46.05, 47.85, -63.98)
CIE-LCHlch(46.05, 79.89, 306.79°)
OKLaboklab(55.54% 0.0763 -0.1827)
OKLCHoklch(55.54% 0.198 292.7)
XYZxyz(23.8371, 15.3068, 68.0146)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52DA #B1DA52
analogous
#526DDA #7B52DA #BF52DA
triadic
#7B52DA #DA7B52 #52DA7B
tetradic
#7B52DA #DA526D #B1DA52 #52DABF
square
#7B52DA #DA526D #B1DA52 #52DABF
split-complementary
#7B52DA #DABF52 #6DDA52
monochromatic
#421F92 #592AC5 #7B52DA #A184E5 #C8B7F0

Accessibility & contrast

On white

5.17
#7B52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7B52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52DA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52DA#FFFFFF#000000##FFFFFF
##7B52DA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#60718E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b52da;
/* rgb */ color: rgb(123, 82, 218);
/* oklch */ color: oklch(55.5% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#a885e6',
    500: '#7b52da',
    950: '#000000',
  },
}
SCSS
$custom: #7b52da;
$custom-light: #a885e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52da",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 258.088,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.19801,
    "h": 292.7
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#7B52DA
secondary
#CFDFA9
accent
#E840B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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