#7652E8#7652E8

#7652E8 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.215 H 288.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7652E8
RGBrgb(118, 82, 232)
HSLhsl(254, 77%, 62%)
HSVhsv(254, 65%, 91%)
CMYKcmyk(49.1%, 64.7%, 0%, 9%)
CIE-LABlab(46.59, 50.77, -71.07)
CIE-LCHlch(46.59, 87.34, 305.54°)
OKLaboklab(56.14% 0.0683 -0.2037)
OKLCHoklch(56.14% 0.215 288.5)
XYZxyz(25.0498, 15.7112, 78.0410)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652E8 #C4E852
analogous
#5279E8 #7652E8 #C152E8
triadic
#7652E8 #E87652 #52E876
tetradic
#7652E8 #E85279 #C4E852 #52E8C1
square
#7652E8 #E85279 #C4E852 #52E8C1
split-complementary
#7652E8 #E8C152 #79E852
monochromatic
#3A16A9 #4C1EDF #7652E8 #A188EF #CCBEF6

Accessibility & contrast

On white

5.07
#7652E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7652E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652E8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652E8#FFFFFF#000000##FFFFFF
##7652E81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#4E7796
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7652e8;
/* rgb */ color: rgb(118, 82, 232);
/* oklch */ color: oklch(56.1% 0.215 288.5);
Tailwind
colors: {
  custom: {
    50: '#a685f0',
    500: '#7652e8',
    950: '#000000',
  },
}
SCSS
$custom: #7652e8;
$custom-light: #a685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7652e8",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 254.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.21485,
    "h": 288.5
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#7652E8
secondary
#D9E7AF
accent
#D90DA8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7652E8

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

Preview Lab → · Contrast checker → · Palette generator →

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