#7652D8#7652D8

#7652D8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.196 H 290.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7652D8
RGBrgb(118, 82, 216)
HSLhsl(256, 63%, 58%)
HSVhsv(256, 62%, 85%)
CMYKcmyk(45.4%, 62%, 0%, 15.3%)
CIE-LABlab(45.42, 46.30, -63.89)
CIE-LCHlch(45.42, 78.90, 305.93°)
OKLaboklab(54.92% 0.0698 -0.1826)
OKLCHoklch(54.92% 0.196 290.9)
XYZxyz(22.8797, 14.8432, 66.6119)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652D8 #B4D852
analogous
#5271D8 #7652D8 #B952D8
triadic
#7652D8 #D87652 #52D876
tetradic
#7652D8 #D85271 #B4D852 #52D8B9
square
#7652D8 #D85271 #B4D852 #52D8B9
split-complementary
#7652D8 #D8B952 #71D852
monochromatic
#3E208F #542CC1 #7652D8 #9E84E3 #C5B6EF

Accessibility & contrast

On white

5.29
#7652D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7652D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652D8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652D8#FFFFFF#000000##FFFFFF
##7652D81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#58718D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7652d8;
/* rgb */ color: rgb(118, 82, 216);
/* oklch */ color: oklch(54.9% 0.196 290.9);
Tailwind
colors: {
  custom: {
    50: '#a484e5',
    500: '#7652d8',
    950: '#000000',
  },
}
SCSS
$custom: #7652d8;
$custom-light: #a484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7652d8",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 256.119,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.1955,
    "h": 290.9
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#7652D8
secondary
#CFDDA8
accent
#E642BA
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7652D8

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

Preview Lab → · Contrast checker → · Palette generator →

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