#7652AF#7652AF

#7652AF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.1% C 0.144 H 299.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7652AF
RGBrgb(118, 82, 175)
HSLhsl(263, 37%, 50%)
HSVhsv(263, 53%, 69%)
CMYKcmyk(32.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(42.73, 35.15, -44.43)
CIE-LCHlch(42.73, 56.66, 308.35°)
OKLaboklab(52.09% 0.0702 -0.1254)
OKLCHoklch(52.09% 0.144 299.2)
XYZxyz(18.2245, 12.9811, 42.0946)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652AF #8BAF52
analogous
#525CAF #7652AF #A552AF
triadic
#7652AF #AF7652 #52AF76
tetradic
#7652AF #AF525C #8BAF52 #52AFA5
square
#7652AF #AF525C #8BAF52 #52AFA5
split-complementary
#7652AF #AFA552 #5CAF52
monochromatic
#3E2B5C #5A3E86 #7652AF #977CC2 #B8A6D6

Accessibility & contrast

On white

5.84
#7652AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7652AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652AF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652AF#FFFFFF#000000##FFFFFF
##7652AF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B2
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#6A6478
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7652af;
/* rgb */ color: rgb(118, 82, 175);
/* oklch */ color: oklch(52.1% 0.144 299.2);
Tailwind
colors: {
  custom: {
    50: '#a084c7',
    500: '#7652af',
    950: '#000000',
  },
}
SCSS
$custom: #7652af;
$custom-light: #a084c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7652af",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 263.226,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.14375,
    "h": 299.2
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#7652AF
secondary
#B3C39A
accent
#CD5BA1
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7652AF

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

Preview Lab → · Contrast checker → · Palette generator →

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