#7652B2#7652B2

#7652B2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.3% C 0.148 H 298.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7652B2
RGBrgb(118, 82, 178)
HSLhsl(263, 38%, 51%)
HSVhsv(263, 54%, 70%)
CMYKcmyk(33.7%, 53.9%, 0%, 30.2%)
CIE-LABlab(42.91, 35.94, -45.91)
CIE-LCHlch(42.91, 58.31, 308.06°)
OKLaboklab(52.29% 0.0704 -0.1298)
OKLCHoklch(52.29% 0.148 298.5)
XYZxyz(18.5224, 13.1003, 43.6636)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652B2 #8EB252
analogous
#525EB2 #7652B2 #A652B2
triadic
#7652B2 #B27652 #52B276
tetradic
#7652B2 #B2525E #8EB252 #52B2A6
square
#7652B2 #B2525E #8EB252 #52B2A6
split-complementary
#7652B2 #B2A652 #5EB252
monochromatic
#3E2A5F #5A3D8A #7652B2 #987CC5 #B9A7D8

Accessibility & contrast

On white

5.80
#7652B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7652B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652B2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652B2#FFFFFF#000000##FFFFFF
##7652B21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#3764B0
Tritanopia (blue-blind)
#69657A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7652b2;
/* rgb */ color: rgb(118, 82, 178);
/* oklch */ color: oklch(52.3% 0.148 298.5);
Tailwind
colors: {
  custom: {
    50: '#a184c9',
    500: '#7652b2',
    950: '#000000',
  },
}
SCSS
$custom: #7652b2;
$custom-light: #a184c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7652b2",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 262.5,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.14763,
    "h": 298.5
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#7652B2
secondary
#B5C59B
accent
#CE59A3
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7652B2

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

Preview Lab → · Contrast checker → · Palette generator →

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