#652AE8#652AE8

#652AE8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.9% C 0.255 H 286.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#652AE8
RGBrgb(101, 42, 232)
HSLhsl(259, 81%, 54%)
HSVhsv(259, 82%, 91%)
CMYKcmyk(56.5%, 81.9%, 0%, 9%)
CIE-LABlab(38.28, 67.12, -84.76)
CIE-LCHlch(38.28, 108.11, 308.37°)
OKLaboklab(49.88% 0.0743 -0.2441)
OKLCHoklch(49.88% 0.255 286.9)
XYZxyz(20.7559, 10.2476, 77.2126)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652AE8 #ADE82A
analogous
#2A4EE8 #652AE8 #C42AE8
triadic
#652AE8 #E8652A #2AE865
tetradic
#652AE8 #E82A4E #ADE82A #2AE8C4
square
#652AE8 #E82A4E #ADE82A #2AE8C4
split-complementary
#652AE8 #E8C42A #4EE82A
monochromatic
#350F89 #4A15C0 #652AE8 #8D61EE #B598F4

Accessibility & contrast

On white

6.89
#652AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#652AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #652AE8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652AE8#FFFFFF#000000##FFFFFF
##652AE81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EED
Deuteranopia (green-blind)
#0055E5
Tritanopia (blue-blind)
#24658C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #652ae8;
/* rgb */ color: rgb(101, 42, 232);
/* oklch */ color: oklch(49.9% 0.255 286.9);
Tailwind
colors: {
  custom: {
    50: '#9f6df1',
    500: '#652ae8',
    950: '#000000',
  },
}
SCSS
$custom: #652ae8;
$custom-light: #9f6df1;
$custom-dark: #000000;
JSON
{
  "hex": "#652ae8",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 232
  },
  "hsl": {
    "h": 258.632,
    "s": 80.508,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.25513,
    "h": 286.9
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#652AE8
secondary
#C6E08E
accent
#F731B9
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#100817
muted
#7F7B85

Preview Lab

Preview with #652AE8

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

Preview Lab → · Contrast checker → · Palette generator →

#652AE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva