#7652D5#7652D5

#7652D5 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.192 H 291.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7652D5
RGBrgb(118, 82, 213)
HSLhsl(256, 61%, 58%)
HSVhsv(256, 62%, 84%)
CMYKcmyk(44.6%, 61.5%, 0%, 16.5%)
CIE-LABlab(45.21, 45.46, -62.52)
CIE-LCHlch(45.21, 77.30, 306.02°)
OKLaboklab(54.7% 0.07 -0.1786)
OKLCHoklch(54.7% 0.192 291.4)
XYZxyz(22.4954, 14.6895, 64.5880)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652D5 #B1D552
analogous
#526FD5 #7652D5 #B852D5
triadic
#7652D5 #D57652 #52D576
tetradic
#7652D5 #D5526F #B1D552 #52D5B8
square
#7652D5 #D5526F #B1D552 #52D5B8
split-complementary
#7652D5 #D5B852 #6FD552
monochromatic
#3F228B #552EBC #7652D5 #9D83E1 #C4B4ED

Accessibility & contrast

On white

5.33
#7652D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7652D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652D5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652D5#FFFFFF#000000##FFFFFF
##7652D51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#5A708C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7652d5;
/* rgb */ color: rgb(118, 82, 213);
/* oklch */ color: oklch(54.7% 0.192 291.4);
Tailwind
colors: {
  custom: {
    50: '#a484e3',
    500: '#7652d5',
    950: '#000000',
  },
}
SCSS
$custom: #7652d5;
$custom-light: #a484e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7652d5",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 256.489,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.19182,
    "h": 291.4
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#7652D5
secondary
#CDDCA7
accent
#E444B8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7652D5

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

Preview Lab → · Contrast checker → · Palette generator →

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