#7652D4#7652D4

#7652D4 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.191 H 291.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7652D4
RGBrgb(118, 82, 212)
HSLhsl(257, 60%, 58%)
HSVhsv(257, 61%, 83%)
CMYKcmyk(44.3%, 61.3%, 0%, 16.9%)
CIE-LABlab(45.14, 45.19, -62.06)
CIE-LCHlch(45.14, 76.77, 306.06°)
OKLaboklab(54.63% 0.0701 -0.1772)
OKLCHoklch(54.63% 0.191 291.6)
XYZxyz(22.3689, 14.6389, 63.9216)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652D4 #B0D452
analogous
#526FD4 #7652D4 #B752D4
triadic
#7652D4 #D47652 #52D476
tetradic
#7652D4 #D4526F #B0D452 #52D4B7
square
#7652D4 #D4526F #B0D452 #52D4B7
split-complementary
#7652D4 #D4B752 #6FD452
monochromatic
#3F2289 #552EBA #7652D4 #9D83E0 #C4B4EC

Accessibility & contrast

On white

5.35
#7652D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7652D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652D4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652D4#FFFFFF#000000##FFFFFF
##7652D41.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#5A708B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7652d4;
/* rgb */ color: rgb(118, 82, 212);
/* oklch */ color: oklch(54.6% 0.191 291.6);
Tailwind
colors: {
  custom: {
    50: '#a484e2',
    500: '#7652d4',
    950: '#000000',
  },
}
SCSS
$custom: #7652d4;
$custom-light: #a484e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7652d4",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 256.615,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.19058,
    "h": 291.6
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#7652D4
secondary
#CDDBA7
accent
#E344B7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652D4

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

Preview Lab → · Contrast checker → · Palette generator →

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