#652AC5#652AC5

#652AC5 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.219 H 293.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#652AC5
RGBrgb(101, 42, 197)
HSLhsl(263, 65%, 47%)
HSVhsv(263, 79%, 77%)
CMYKcmyk(48.7%, 78.7%, 0%, 22.7%)
CIE-LABlab(34.91, 58.18, -70.13)
CIE-LCHlch(34.91, 91.12, 309.68°)
OKLaboklab(46.54% 0.0858 -0.2013)
OKLCHoklch(46.54% 0.219 293.1)
XYZxyz(16.2700, 8.4533, 53.5869)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652AC5 #8AC52A
analogous
#2A3CC5 #652AC5 #B32AC5
triadic
#652AC5 #C5652A #2AC565
tetradic
#652AC5 #C52A3C #8AC52A #2AC5B3
square
#652AC5 #C52A3C #8AC52A #2AC5B3
split-complementary
#652AC5 #C5B32A #3CC52A
monochromatic
#311460 #4B1F93 #652AC5 #8652DA #A985E5

Accessibility & contrast

On white

7.80
#652AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#652AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652AC5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652AC5#FFFFFF#000000##FFFFFF
##652AC51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#465678
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #652ac5;
/* rgb */ color: rgb(101, 42, 197);
/* oklch */ color: oklch(46.5% 0.219 293.1);
Tailwind
colors: {
  custom: {
    50: '#9a6bd8',
    500: '#652ac5',
    950: '#000000',
  },
}
SCSS
$custom: #652ac5;
$custom-light: #9a6bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#652ac5",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 262.839,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.21883,
    "h": 293.1
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#652AC5
secondary
#AFCE7D
accent
#E840A8
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #652AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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