#7652CD#7652CD

#7652CD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.182 H 292.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7652CD
RGBrgb(118, 82, 205)
HSLhsl(258, 55%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(42.4%, 60%, 0%, 19.6%)
CIE-LABlab(44.65, 43.25, -58.82)
CIE-LCHlch(44.65, 73.01, 306.32°)
OKLaboklab(54.12% 0.0705 -0.1677)
OKLCHoklch(54.12% 0.182 292.8)
XYZxyz(21.5050, 14.2933, 59.3716)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652CD #A9CD52
analogous
#526CCD #7652CD #B452CD
triadic
#7652CD #CD7652 #52CD76
tetradic
#7652CD #CD526C #A9CD52 #52CDB4
square
#7652CD #CD526C #A9CD52 #52CDB4
split-complementary
#7652CD #CDB452 #6CCD52
monochromatic
#3F2580 #5733AF #7652CD #9C81DB #C1B1E8

Accessibility & contrast

On white

5.44
#7652CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7652CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652CD#FFFFFF#000000##FFFFFF
##7652CD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#5E6E88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7652cd;
/* rgb */ color: rgb(118, 82, 205);
/* oklch */ color: oklch(54.1% 0.182 292.8);
Tailwind
colors: {
  custom: {
    50: '#a384dd',
    500: '#7652cd',
    950: '#000000',
  },
}
SCSS
$custom: #7652cd;
$custom-light: #a384dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7652cd",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 257.561,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.18191,
    "h": 292.8
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#7652CD
secondary
#C8D7A4
accent
#DE49B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652CD

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

Preview Lab → · Contrast checker → · Palette generator →

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