#7652EB#7652EB

#7652EB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.218 H 288.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7652EB
RGBrgb(118, 82, 235)
HSLhsl(254, 79%, 62%)
HSVhsv(254, 65%, 92%)
CMYKcmyk(49.8%, 65.1%, 0%, 7.8%)
CIE-LABlab(46.82, 51.62, -72.39)
CIE-LCHlch(46.82, 88.91, 305.49°)
OKLaboklab(56.38% 0.0679 -0.2076)
OKLCHoklch(56.38% 0.218 288.1)
XYZxyz(25.4795, 15.8831, 80.3044)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652EB #C7EB52
analogous
#527AEB #7652EB #C352EB
triadic
#7652EB #EB7652 #52EB76
tetradic
#7652EB #EB527A #C7EB52 #52EBC3
square
#7652EB #EB527A #C7EB52 #52EBC3
split-complementary
#7652EB #EBC352 #7AEB52
monochromatic
#3814AE #4B1BE5 #7652EB #A189F1 #CDC0F8

Accessibility & contrast

On white

5.03
#7652EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7652EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652EB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652EB#FFFFFF#000000##FFFFFF
##7652EB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#4C7897
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7652eb;
/* rgb */ color: rgb(118, 82, 235);
/* oklch */ color: oklch(56.4% 0.218 288.1);
Tailwind
colors: {
  custom: {
    50: '#a785f2',
    500: '#7652eb',
    950: '#000000',
  },
}
SCSS
$custom: #7652eb;
$custom-light: #a785f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7652eb",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 254.118,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.21843,
    "h": 288.1
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#7652EB
secondary
#DBE8B0
accent
#DC0AAA
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7652EB

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

Preview Lab → · Contrast checker → · Palette generator →

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