#7652CC#7652CC

#7652CC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.181 H 293.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7652CC
RGBrgb(118, 82, 204)
HSLhsl(258, 54%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(42.2%, 59.8%, 0%, 20%)
CIE-LABlab(44.58, 42.97, -58.36)
CIE-LCHlch(44.58, 72.47, 306.37°)
OKLaboklab(54.05% 0.0705 -0.1663)
OKLCHoklch(54.05% 0.181 293)
XYZxyz(21.3846, 14.2452, 58.7379)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652CC #A8CC52
analogous
#526BCC #7652CC #B352CC
triadic
#7652CC #CC7652 #52CC76
tetradic
#7652CC #CC526B #A8CC52 #52CCB3
square
#7652CC #CC526B #A8CC52 #52CCB3
split-complementary
#7652CC #CCB352 #6BCC52
monochromatic
#40257E #5733AE #7652CC #9B81DA #C1B1E8

Accessibility & contrast

On white

5.46
#7652CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7652CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652CC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652CC#FFFFFF#000000##FFFFFF
##7652CC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0567C9
Tritanopia (blue-blind)
#5E6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7652cc;
/* rgb */ color: rgb(118, 82, 204);
/* oklch */ color: oklch(54.0% 0.181 293.0);
Tailwind
colors: {
  custom: {
    50: '#a384dc',
    500: '#7652cc',
    950: '#000000',
  },
}
SCSS
$custom: #7652cc;
$custom-light: #a384dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7652cc",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 257.705,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.18066,
    "h": 293
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#7652CC
secondary
#C7D6A4
accent
#DE4AB2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652CC

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

Preview Lab → · Contrast checker → · Palette generator →

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