#7652B4#7652B4

#7652B4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.4% C 0.150 H 298.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7652B4
RGBrgb(118, 82, 180)
HSLhsl(262, 40%, 51%)
HSVhsv(262, 54%, 71%)
CMYKcmyk(34.4%, 54.4%, 0%, 29.4%)
CIE-LABlab(43.03, 36.47, -46.89)
CIE-LCHlch(43.03, 59.41, 307.88°)
OKLaboklab(52.41% 0.0705 -0.1326)
OKLCHoklch(52.41% 0.15 298)
XYZxyz(18.7247, 13.1812, 44.7289)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652B4 #90B452
analogous
#525FB4 #7652B4 #A752B4
triadic
#7652B4 #B47652 #52B476
tetradic
#7652B4 #B4525F #90B452 #52B4A7
square
#7652B4 #B4525F #90B452 #52B4A7
split-complementary
#7652B4 #B4A752 #5FB452
monochromatic
#3E2A61 #5A3D8C #7652B4 #987DC7 #BAA7D9

Accessibility & contrast

On white

5.78
#7652B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7652B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652B4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652B4#FFFFFF#000000##FFFFFF
##7652B41.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#68667B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7652b4;
/* rgb */ color: rgb(118, 82, 180);
/* oklch */ color: oklch(52.4% 0.150 298.0);
Tailwind
colors: {
  custom: {
    50: '#a184cb',
    500: '#7652b4',
    950: '#000000',
  },
}
SCSS
$custom: #7652b4;
$custom-light: #a184cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7652b4",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 262.041,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.15021,
    "h": 298
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#7652B4
secondary
#B7C79B
accent
#CF58A4
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7652B4

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

Preview Lab → · Contrast checker → · Palette generator →

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