#7652CE#7652CE

#7652CE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.183 H 292.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7652CE
RGBrgb(118, 82, 206)
HSLhsl(257, 56%, 56%)
HSVhsv(257, 60%, 81%)
CMYKcmyk(42.7%, 60.2%, 0%, 19.2%)
CIE-LABlab(44.72, 43.53, -59.29)
CIE-LCHlch(44.72, 73.55, 306.28°)
OKLaboklab(54.19% 0.0704 -0.1691)
OKLCHoklch(54.19% 0.183 292.6)
XYZxyz(21.6260, 14.3417, 60.0094)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652CE #AACE52
analogous
#526CCE #7652CE #B452CE
triadic
#7652CE #CE7652 #52CE76
tetradic
#7652CE #CE526C #AACE52 #52CEB4
square
#7652CE #CE526C #AACE52 #52CEB4
split-complementary
#7652CE #CEB452 #6CCE52
monochromatic
#3F2581 #5732B1 #7652CE #9C82DC #C2B1E9

Accessibility & contrast

On white

5.43
#7652CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7652CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652CE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652CE#FFFFFF#000000##FFFFFF
##7652CE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#5D6E88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7652ce;
/* rgb */ color: rgb(118, 82, 206);
/* oklch */ color: oklch(54.2% 0.183 292.6);
Tailwind
colors: {
  custom: {
    50: '#a384de',
    500: '#7652ce',
    950: '#000000',
  },
}
SCSS
$custom: #7652ce;
$custom-light: #a384de;
$custom-dark: #000000;
JSON
{
  "hex": "#7652ce",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 257.419,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.18315,
    "h": 292.6
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#7652CE
secondary
#C9D7A4
accent
#DF49B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652CE

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

Preview Lab → · Contrast checker → · Palette generator →

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