#652BC6#652BC6

#652BC6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.219 H 292.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#652BC6
RGBrgb(101, 43, 198)
HSLhsl(262, 64%, 47%)
HSVhsv(262, 78%, 78%)
CMYKcmyk(49%, 78.3%, 0%, 22.4%)
CIE-LABlab(35.15, 58.02, -70.33)
CIE-LCHlch(35.15, 91.17, 309.52°)
OKLaboklab(46.73% 0.0847 -0.2019)
OKLCHoklch(46.73% 0.219 292.8)
XYZxyz(16.4209, 8.5711, 54.2043)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BC6 #8CC62B
analogous
#2B3EC6 #652BC6 #B32BC6
triadic
#652BC6 #C6652B #2BC665
tetradic
#652BC6 #C62B3E #8CC62B #2BC6B3
square
#652BC6 #C62B3E #8CC62B #2BC6B3
split-complementary
#652BC6 #C6B32B #3EC62B
monochromatic
#321561 #4B2094 #652BC6 #8654DA #AA87E5

Accessibility & contrast

On white

7.74
#652BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#652BC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BC6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BC6#FFFFFF#000000##FFFFFF
##652BC61.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#465778
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #652bc6;
/* rgb */ color: rgb(101, 43, 198);
/* oklch */ color: oklch(46.7% 0.219 292.8);
Tailwind
colors: {
  custom: {
    50: '#9b6cd9',
    500: '#652bc6',
    950: '#000000',
  },
}
SCSS
$custom: #652bc6;
$custom-light: #9b6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#652bc6",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 198
  },
  "hsl": {
    "h": 262.452,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46732,
    "c": 0.21898,
    "h": 292.8
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#652BC6
secondary
#B0CE7F
accent
#E740A9
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #652BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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