#7652C2#7652C2

#7652C2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.168 H 294.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7652C2
RGBrgb(118, 82, 194)
HSLhsl(259, 48%, 54%)
HSVhsv(259, 58%, 76%)
CMYKcmyk(39.2%, 57.7%, 0%, 23.9%)
CIE-LABlab(43.92, 40.24, -53.65)
CIE-LCHlch(43.92, 67.06, 306.87°)
OKLaboklab(53.35% 0.0707 -0.1525)
OKLCHoklch(53.35% 0.168 294.9)
XYZxyz(20.2236, 13.7807, 52.6229)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652C2 #9EC252
analogous
#5266C2 #7652C2 #AE52C2
triadic
#7652C2 #C27652 #52C276
tetradic
#7652C2 #C25266 #9EC252 #52C2AE
square
#7652C2 #C25266 #9EC252 #52C2AE
split-complementary
#7652C2 #C2AE52 #66C252
monochromatic
#402872 #59389F #7652C2 #9A7FD2 #BEACE2

Accessibility & contrast

On white

5.59
#7652C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7652C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652C2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652C2#FFFFFF#000000##FFFFFF
##7652C21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C6
Deuteranopia (green-blind)
#2266C0
Tritanopia (blue-blind)
#636A82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7652c2;
/* rgb */ color: rgb(118, 82, 194);
/* oklch */ color: oklch(53.3% 0.168 294.9);
Tailwind
colors: {
  custom: {
    50: '#a284d5',
    500: '#7652c2',
    950: '#000000',
  },
}
SCSS
$custom: #7652c2;
$custom-light: #a284d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7652c2",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 259.286,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.16809,
    "h": 294.9
  },
  "luminance": 0.13781
}

Semantic roles & 50–950 ramp

primary
#7652C2
secondary
#C0D0A0
accent
#D750AC
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7652C2

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

Preview Lab → · Contrast checker → · Palette generator →

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