#7652E9#7652E9

#7652E9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.216 H 288.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7652E9
RGBrgb(118, 82, 233)
HSLhsl(254, 77%, 62%)
HSVhsv(254, 65%, 91%)
CMYKcmyk(49.4%, 64.8%, 0%, 8.6%)
CIE-LABlab(46.67, 51.05, -71.51)
CIE-LCHlch(46.67, 87.86, 305.53°)
OKLaboklab(56.22% 0.0682 -0.205)
OKLCHoklch(56.22% 0.216 288.4)
XYZxyz(25.1922, 15.7682, 78.7912)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652E9 #C5E952
analogous
#527AE9 #7652E9 #C252E9
triadic
#7652E9 #E97652 #52E976
tetradic
#7652E9 #E9527A #C5E952 #52E9C2
square
#7652E9 #E9527A #C5E952 #52E9C2
split-complementary
#7652E9 #E9C252 #7AE952
monochromatic
#3916AB #4B1DE1 #7652E9 #A188F0 #CCBFF7

Accessibility & contrast

On white

5.06
#7652E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7652E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652E9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652E9#FFFFFF#000000##FFFFFF
##7652E91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#4E7796
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7652e9;
/* rgb */ color: rgb(118, 82, 233);
/* oklch */ color: oklch(56.2% 0.216 288.4);
Tailwind
colors: {
  custom: {
    50: '#a685f1',
    500: '#7652e9',
    950: '#000000',
  },
}
SCSS
$custom: #7652e9;
$custom-light: #a685f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7652e9",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 254.305,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.21605,
    "h": 288.4
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#7652E9
secondary
#DAE7AF
accent
#DA0CA9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7652E9

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

Preview Lab → · Contrast checker → · Palette generator →

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