#7652CF#7652CF

#7652CF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.184 H 292.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7652CF
RGBrgb(118, 82, 207)
HSLhsl(257, 57%, 57%)
HSVhsv(257, 60%, 81%)
CMYKcmyk(43%, 60.4%, 0%, 18.8%)
CIE-LABlab(44.79, 43.80, -59.75)
CIE-LCHlch(44.79, 74.09, 306.24°)
OKLaboklab(54.26% 0.0704 -0.1704)
OKLCHoklch(54.26% 0.184 292.4)
XYZxyz(21.7479, 14.3905, 60.6512)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652CF #ABCF52
analogous
#526DCF #7652CF #B552CF
triadic
#7652CF #CF7652 #52CF76
tetradic
#7652CF #CF526D #ABCF52 #52CFB5
square
#7652CF #CF526D #ABCF52 #52CFB5
split-complementary
#7652CF #CFB552 #6DCF52
monochromatic
#3F2482 #5731B2 #7652CF #9C82DC #C2B2EA

Accessibility & contrast

On white

5.41
#7652CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7652CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652CF#FFFFFF#000000##FFFFFF
##7652CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#5D6E89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7652cf;
/* rgb */ color: rgb(118, 82, 207);
/* oklch */ color: oklch(54.3% 0.184 292.4);
Tailwind
colors: {
  custom: {
    50: '#a384de',
    500: '#7652cf',
    950: '#000000',
  },
}
SCSS
$custom: #7652cf;
$custom-light: #a384de;
$custom-dark: #000000;
JSON
{
  "hex": "#7652cf",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 257.28,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.1844,
    "h": 292.4
  },
  "luminance": 0.14391
}

Semantic roles & 50–950 ramp

primary
#7652CF
secondary
#C9D8A5
accent
#E048B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7652CF

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

Preview Lab → · Contrast checker → · Palette generator →

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