#7652DC#7652DC

#7652DC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.2% C 0.200 H 290.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7652DC
RGBrgb(118, 82, 220)
HSLhsl(256, 66%, 59%)
HSVhsv(256, 63%, 86%)
CMYKcmyk(46.4%, 62.7%, 0%, 13.7%)
CIE-LABlab(45.71, 47.41, -65.70)
CIE-LCHlch(45.71, 81.02, 305.81°)
OKLaboklab(55.22% 0.0695 -0.1879)
OKLCHoklch(55.22% 0.2 290.3)
XYZxyz(23.4031, 15.0526, 69.3686)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652DC #B8DC52
analogous
#5273DC #7652DC #BB52DC
triadic
#7652DC #DC7652 #52DC76
tetradic
#7652DC #DC5273 #B8DC52 #52DCBB
square
#7652DC #DC5273 #B8DC52 #52DCBB
split-complementary
#7652DC #DCBB52 #73DC52
monochromatic
#3D1E95 #5229C8 #7652DC #9E85E6 #C7B8F1

Accessibility & contrast

On white

5.24
#7652DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7652DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652DC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652DC#FFFFFF#000000##FFFFFF
##7652DC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#56738F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7652dc;
/* rgb */ color: rgb(118, 82, 220);
/* oklch */ color: oklch(55.2% 0.200 290.3);
Tailwind
colors: {
  custom: {
    50: '#a584e8',
    500: '#7652dc',
    950: '#000000',
  },
}
SCSS
$custom: #7652dc;
$custom-light: #a584e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7652dc",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 255.652,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.20038,
    "h": 290.3
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#7652DC
secondary
#D2E0AA
accent
#E93FBD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7652DC

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

Preview Lab → · Contrast checker → · Palette generator →

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