#7652BD#7652BD

#7652BD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.0% C 0.162 H 295.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7652BD
RGBrgb(118, 82, 189)
HSLhsl(260, 45%, 53%)
HSVhsv(260, 57%, 74%)
CMYKcmyk(37.6%, 56.6%, 0%, 25.9%)
CIE-LABlab(43.59, 38.88, -51.26)
CIE-LCHlch(43.59, 64.34, 307.18°)
OKLaboklab(53.01% 0.0707 -0.1455)
OKLCHoklch(53.01% 0.162 295.9)
XYZxyz(19.6715, 13.5599, 49.7152)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652BD #99BD52
analogous
#5263BD #7652BD #AB52BD
triadic
#7652BD #BD7652 #52BD76
tetradic
#7652BD #BD5263 #99BD52 #52BDAB
square
#7652BD #BD5263 #99BD52 #52BDAB
split-complementary
#7652BD #BDAB52 #63BD52
monochromatic
#3F296C #5A3A98 #7652BD #997ECE #BCABDF

Accessibility & contrast

On white

5.66
#7652BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7652BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652BD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652BD#FFFFFF#000000##FFFFFF
##7652BD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#65687F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7652bd;
/* rgb */ color: rgb(118, 82, 189);
/* oklch */ color: oklch(53.0% 0.162 295.9);
Tailwind
colors: {
  custom: {
    50: '#a284d1',
    500: '#7652bd',
    950: '#000000',
  },
}
SCSS
$custom: #7652bd;
$custom-light: #a284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7652bd",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 260.187,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.16174,
    "h": 295.9
  },
  "luminance": 0.1356
}

Semantic roles & 50–950 ramp

primary
#7652BD
secondary
#BDCC9E
accent
#D453A9
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7652BD

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

Preview Lab → · Contrast checker → · Palette generator →

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