#7652EF#7652EF

#7652EF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.223 H 287.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7652EF
RGBrgb(118, 82, 239)
HSLhsl(254, 83%, 63%)
HSVhsv(254, 66%, 94%)
CMYKcmyk(50.6%, 65.7%, 0%, 6.3%)
CIE-LABlab(47.13, 52.74, -74.14)
CIE-LCHlch(47.13, 90.98, 305.43°)
OKLaboklab(56.69% 0.0674 -0.2127)
OKLCHoklch(56.69% 0.223 287.6)
XYZxyz(26.0639, 16.1169, 83.3821)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7652EF #CBEF52
analogous
#527CEF #7652EF #C452EF
triadic
#7652EF #EF7652 #52EF76
tetradic
#7652EF #EF527C #CBEF52 #52EFC4
square
#7652EF #EF527C #CBEF52 #52EFC4
split-complementary
#7652EF #EFC452 #7CEF52
monochromatic
#3711B6 #4A1AEA #7652EF #A28AF4 #CFC2F9

Accessibility & contrast

On white

4.97
#7652EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7652EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7652EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7652EF#FFFFFF#000000##FFFFFF
##7652EF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#49799A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7652ef;
/* rgb */ color: rgb(118, 82, 239);
/* oklch */ color: oklch(56.7% 0.223 287.6);
Tailwind
colors: {
  custom: {
    50: '#a785f5',
    500: '#7652ef',
    950: '#000000',
  },
}
SCSS
$custom: #7652ef;
$custom-light: #a785f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7652ef",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 253.758,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56693,
    "c": 0.22317,
    "h": 287.6
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#7652EF
secondary
#DEEBB2
accent
#DF06AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7652EF

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

Preview Lab → · Contrast checker → · Palette generator →

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