#7B52FD#7B52FD

#7B52FD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.239 H 287.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B52FD
RGBrgb(123, 82, 253)
HSLhsl(254, 98%, 66%)
HSVhsv(254, 68%, 99%)
CMYKcmyk(51.4%, 67.6%, 0%, 0.8%)
CIE-LABlab(48.68, 57.46, -79.41)
CIE-LCHlch(48.68, 98.02, 305.89°)
OKLaboklab(58.26% 0.0721 -0.2281)
OKLCHoklch(58.26% 0.239 287.5)
XYZxyz(28.9101, 17.3360, 94.7323)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52FD #D4FD52
analogous
#527EFD #7B52FD #D052FD
triadic
#7B52FD #FD7B52 #52FD7B
tetradic
#7B52FD #FD527E #D4FD52 #52FDD0
square
#7B52FD #FD527E #D4FD52 #52FDD0
split-complementary
#7B52FD #FDD052 #7EFD52
monochromatic
#3402D2 #4D15FC #7B52FD #A98EFE #D7CBFE

Accessibility & contrast

On white

4.70
#7B52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7B52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52FD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52FD#FFFFFF#000000##FFFFFF
##7B52FD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006FFA
Tritanopia (blue-blind)
#497EA1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b52fd;
/* rgb */ color: rgb(123, 82, 253);
/* oklch */ color: oklch(58.3% 0.239 287.5);
Tailwind
colors: {
  custom: {
    50: '#ac85ff',
    500: '#7b52fd',
    950: '#000000',
  },
}
SCSS
$custom: #7b52fd;
$custom-light: #ac85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52fd",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 254.386,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.23919,
    "h": 287.5
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#7B52FD
secondary
#E4F2B9
accent
#E600AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7B52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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