#7652DB#7652DB

#7652DB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.199 H 290.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7652DB
RGBrgb(118, 82, 219)
HSLhsl(256, 66%, 59%)
HSVhsv(256, 63%, 86%)
CMYKcmyk(46.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(45.63, 47.13, -65.25)
CIE-LCHlch(45.63, 80.49, 305.84°)
OKLaboklab(55.15% 0.0696 -0.1866)
OKLCHoklch(55.15% 0.199 290.4)
XYZxyz(23.2711, 14.9998, 68.6732)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652DB #B7DB52
analogous
#5273DB #7652DB #BA52DB
triadic
#7652DB #DB7652 #52DB76
tetradic
#7652DB #DB5273 #B7DB52 #52DBBA
square
#7652DB #DB5273 #B7DB52 #52DBBA
split-complementary
#7652DB #DBBA52 #73DB52
monochromatic
#3E1F94 #5329C6 #7652DB #9E85E6 #C6B7F0

Accessibility & contrast

On white

5.25
#7652DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7652DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652DB#FFFFFF#000000##FFFFFF
##7652DB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#57728F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7652db;
/* rgb */ color: rgb(118, 82, 219);
/* oklch */ color: oklch(55.1% 0.199 290.4);
Tailwind
colors: {
  custom: {
    50: '#a584e7',
    500: '#7652db',
    950: '#000000',
  },
}
SCSS
$custom: #7652db;
$custom-light: #a584e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7652db",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 255.766,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.19917,
    "h": 290.4
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#7652DB
secondary
#D1DFAA
accent
#E93FBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7652DB

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

Preview Lab → · Contrast checker → · Palette generator →

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