#7652DD#7652DD

#7652DD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.202 H 290.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7652DD
RGBrgb(118, 82, 221)
HSLhsl(256, 67%, 59%)
HSVhsv(256, 63%, 87%)
CMYKcmyk(46.6%, 62.9%, 0%, 13.3%)
CIE-LABlab(45.78, 47.69, -66.16)
CIE-LCHlch(45.78, 81.55, 305.79°)
OKLaboklab(55.3% 0.0694 -0.1893)
OKLCHoklch(55.3% 0.202 290.1)
XYZxyz(23.5360, 15.1057, 70.0682)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652DD #B9DD52
analogous
#5273DD #7652DD #BC52DD
triadic
#7652DD #DD7652 #52DD76
tetradic
#7652DD #DD5273 #B9DD52 #52DDBC
square
#7652DD #DD5273 #B9DD52 #52DDBC
split-complementary
#7652DD #DDBC52 #73DD52
monochromatic
#3D1E97 #5228CA #7652DD #9F85E7 #C7B8F1

Accessibility & contrast

On white

5.22
#7652DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7652DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652DD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652DD#FFFFFF#000000##FFFFFF
##7652DD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#557390
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7652dd;
/* rgb */ color: rgb(118, 82, 221);
/* oklch */ color: oklch(55.3% 0.202 290.1);
Tailwind
colors: {
  custom: {
    50: '#a584e8',
    500: '#7652dd',
    950: '#000000',
  },
}
SCSS
$custom: #7652dd;
$custom-light: #a584e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7652dd",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 255.54,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.20159,
    "h": 290.1
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7652DD

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

Preview Lab → · Contrast checker → · Palette generator →

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