#7652ED#7652ED

#7652ED is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.221 H 287.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7652ED
RGBrgb(118, 82, 237)
HSLhsl(254, 81%, 63%)
HSVhsv(254, 65%, 93%)
CMYKcmyk(50.2%, 65.4%, 0%, 7.1%)
CIE-LABlab(46.97, 52.18, -73.26)
CIE-LCHlch(46.97, 89.95, 305.46°)
OKLaboklab(56.53% 0.0677 -0.2102)
OKLCHoklch(56.53% 0.221 287.9)
XYZxyz(25.7701, 15.9994, 81.8347)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652ED #C9ED52
analogous
#527CED #7652ED #C352ED
triadic
#7652ED #ED7652 #52ED76
tetradic
#7652ED #ED527C #C9ED52 #52EDC3
square
#7652ED #ED527C #C9ED52 #52EDC3
split-complementary
#7652ED #EDC352 #7CED52
monochromatic
#3813B2 #4A1BE7 #7652ED #A289F3 #CEC1F9

Accessibility & contrast

On white

5.00
#7652ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7652ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652ED
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652ED#FFFFFF#000000##FFFFFF
##7652ED1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#4B7899
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7652ed;
/* rgb */ color: rgb(118, 82, 237);
/* oklch */ color: oklch(56.5% 0.221 287.9);
Tailwind
colors: {
  custom: {
    50: '#a785f4',
    500: '#7652ed',
    950: '#000000',
  },
}
SCSS
$custom: #7652ed;
$custom-light: #a785f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7652ed",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 253.935,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.2208,
    "h": 287.9
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#7652ED
secondary
#DCEAB1
accent
#DE08AC
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7652ED

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

Preview Lab → · Contrast checker → · Palette generator →

#7652ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva