#7652CB#7652CB

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

Color values

HEX#7652CB
RGBrgb(118, 82, 203)
HSLhsl(258, 54%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(41.9%, 59.6%, 0%, 20.4%)
CIE-LABlab(44.51, 42.70, -57.89)
CIE-LCHlch(44.51, 71.93, 306.41°)
OKLaboklab(53.97% 0.0705 -0.165)
OKLCHoklch(53.97% 0.179 293.1)
XYZxyz(21.2651, 14.1974, 58.1083)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652CB #A7CB52
analogous
#526ACB #7652CB #B252CB
triadic
#7652CB #CB7652 #52CB76
tetradic
#7652CB #CB526A #A7CB52 #52CBB2
square
#7652CB #CB526A #A7CB52 #52CBB2
split-complementary
#7652CB #CBB252 #6ACB52
monochromatic
#40267D #5834AC #7652CB #9B81D9 #C1B0E7

Accessibility & contrast

On white

5.47
#7652CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7652CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652CB#FFFFFF#000000##FFFFFF
##7652CB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0A67C8
Tritanopia (blue-blind)
#5F6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7652cb;
/* rgb */ color: rgb(118, 82, 203);
/* oklch */ color: oklch(54.0% 0.179 293.1);
Tailwind
colors: {
  custom: {
    50: '#a384dc',
    500: '#7652cb',
    950: '#000000',
  },
}
SCSS
$custom: #7652cb;
$custom-light: #a384dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7652cb",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 257.851,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.17941,
    "h": 293.1
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#7652CB
secondary
#C7D5A3
accent
#DD4BB2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652CB

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

Preview Lab → · Contrast checker → · Palette generator →

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