#7652D9#7652D9

#7652D9 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.197 H 290.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7652D9
RGBrgb(118, 82, 217)
HSLhsl(256, 64%, 59%)
HSVhsv(256, 62%, 85%)
CMYKcmyk(45.6%, 62.2%, 0%, 14.9%)
CIE-LABlab(45.49, 46.58, -64.34)
CIE-LCHlch(45.49, 79.43, 305.90°)
OKLaboklab(55% 0.0697 -0.1839)
OKLCHoklch(55% 0.197 290.8)
XYZxyz(23.0094, 14.8951, 67.2949)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652D9 #B5D952
analogous
#5271D9 #7652D9 #B952D9
triadic
#7652D9 #D97652 #52D976
tetradic
#7652D9 #D95271 #B5D952 #52D9B9
square
#7652D9 #D95271 #B5D952 #52D9B9
split-complementary
#7652D9 #D9B952 #71D952
monochromatic
#3E2091 #532BC3 #7652D9 #9E84E4 #C5B6EF

Accessibility & contrast

On white

5.28
#7652D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7652D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652D9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652D9#FFFFFF#000000##FFFFFF
##7652D91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#58728E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7652d9;
/* rgb */ color: rgb(118, 82, 217);
/* oklch */ color: oklch(55.0% 0.197 290.8);
Tailwind
colors: {
  custom: {
    50: '#a584e6',
    500: '#7652d9',
    950: '#000000',
  },
}
SCSS
$custom: #7652d9;
$custom-light: #a584e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7652d9",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 256,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.19672,
    "h": 290.8
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#7652D9
secondary
#D0DEA9
accent
#E741BB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7652D9

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

Preview Lab → · Contrast checker → · Palette generator →

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