#7652E4#7652E4

#7652E4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.8% C 0.210 H 289.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7652E4
RGBrgb(118, 82, 228)
HSLhsl(255, 73%, 61%)
HSVhsv(255, 64%, 89%)
CMYKcmyk(48.2%, 64%, 0%, 10.6%)
CIE-LABlab(46.29, 49.65, -69.29)
CIE-LCHlch(46.29, 85.24, 305.62°)
OKLaboklab(55.83% 0.0687 -0.1985)
OKLCHoklch(55.83% 0.21 289.1)
XYZxyz(24.4881, 15.4866, 75.0827)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652E4 #C0E452
analogous
#5277E4 #7652E4 #BF52E4
triadic
#7652E4 #E47652 #52E476
tetradic
#7652E4 #E45277 #C0E452 #52E4BF
square
#7652E4 #E45277 #C0E452 #52E4BF
split-complementary
#7652E4 #E4BF52 #77E452
monochromatic
#3B19A2 #4E22D7 #7652E4 #A087EC #CABCF5

Accessibility & contrast

On white

5.12
#7652E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7652E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652E4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652E4#FFFFFF#000000##FFFFFF
##7652E41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#517594
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7652e4;
/* rgb */ color: rgb(118, 82, 228);
/* oklch */ color: oklch(55.8% 0.210 289.1);
Tailwind
colors: {
  custom: {
    50: '#a685ed',
    500: '#7652e4',
    950: '#000000',
  },
}
SCSS
$custom: #7652e4;
$custom-light: #a685ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7652e4",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 254.795,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.21006,
    "h": 289.1
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#7652E4
secondary
#D7E5AD
accent
#D510A5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7652E4

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

Preview Lab → · Contrast checker → · Palette generator →

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