#7D52FF#7D52FF

#7D52FF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.241 H 288.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D52FF
RGBrgb(125, 82, 255)
HSLhsl(255, 100%, 66%)
HSVhsv(255, 68%, 100%)
CMYKcmyk(51%, 67.8%, 0%, 0%)
CIE-LABlab(49.02, 58.33, -79.96)
CIE-LCHlch(49.02, 98.97, 306.11°)
OKLaboklab(58.6% 0.0744 -0.2296)
OKLCHoklch(58.6% 0.241 288)
XYZxyz(29.5194, 17.6132, 96.4326)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D52FF #D4FF52
analogous
#527DFF #7D52FF #D352FF
triadic
#7D52FF #FF7D52 #52FF7D
tetradic
#7D52FF #FF527D #D4FF52 #52FFD3
square
#7D52FF #FF527D #D4FF52 #52FFD3
split-complementary
#7D52FF #FFD352 #7DFF52
monochromatic
#3500D7 #4F15FF #7D52FF #AB8FFF #D9CCFF

Accessibility & contrast

On white

4.64
#7D52FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7D52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D52FF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D52FF#FFFFFF#000000##FFFFFF
##7D52FF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0070FC
Tritanopia (blue-blind)
#4C7EA2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d52ff;
/* rgb */ color: rgb(125, 82, 255);
/* oklch */ color: oklch(58.6% 0.241 288.0);
Tailwind
colors: {
  custom: {
    50: '#ad86ff',
    500: '#7d52ff',
    950: '#000000',
  },
}
SCSS
$custom: #7d52ff;
$custom-light: #ad86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d52ff",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 254.913,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.24137,
    "h": 288
  },
  "luminance": 0.17615
}

Semantic roles & 50–950 ramp

primary
#7D52FF
secondary
#E5F3BA
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7D52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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