#7652D2#7652D2

#7652D2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.188 H 291.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7652D2
RGBrgb(118, 82, 210)
HSLhsl(257, 59%, 57%)
HSVhsv(257, 61%, 82%)
CMYKcmyk(43.8%, 61%, 0%, 17.6%)
CIE-LABlab(45.00, 44.63, -61.14)
CIE-LCHlch(45.00, 75.70, 306.13°)
OKLaboklab(54.48% 0.0702 -0.1745)
OKLCHoklch(54.48% 0.188 291.9)
XYZxyz(22.1182, 14.5386, 62.6011)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652D2 #AED252
analogous
#526ED2 #7652D2 #B652D2
triadic
#7652D2 #D27652 #52D276
tetradic
#7652D2 #D2526E #AED252 #52D2B6
square
#7652D2 #D2526E #AED252 #52D2B6
split-complementary
#7652D2 #D2B652 #6ED252
monochromatic
#3F2387 #5630B7 #7652D2 #9C83DF #C3B3EB

Accessibility & contrast

On white

5.37
#7652D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7652D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652D2#FFFFFF#000000##FFFFFF
##7652D21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#5B6F8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7652d2;
/* rgb */ color: rgb(118, 82, 210);
/* oklch */ color: oklch(54.5% 0.188 291.9);
Tailwind
colors: {
  custom: {
    50: '#a484e1',
    500: '#7652d2',
    950: '#000000',
  },
}
SCSS
$custom: #7652d2;
$custom-light: #a484e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7652d2",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 256.875,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.18811,
    "h": 291.9
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#7652D2
secondary
#CBDAA6
accent
#E246B6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652D2

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

Preview Lab → · Contrast checker → · Palette generator →

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