#652BC7#652BC7

#652BC7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.220 H 292.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#652BC7
RGBrgb(101, 43, 199)
HSLhsl(262, 64%, 47%)
HSVhsv(262, 78%, 78%)
CMYKcmyk(49.2%, 78.4%, 0%, 22%)
CIE-LABlab(35.24, 58.28, -70.76)
CIE-LCHlch(35.24, 91.67, 309.48°)
OKLaboklab(46.82% 0.0844 -0.2032)
OKLCHoklch(46.82% 0.22 292.6)
XYZxyz(16.5366, 8.6174, 54.8138)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BC7 #8DC72B
analogous
#2B3FC7 #652BC7 #B32BC7
triadic
#652BC7 #C7652B #2BC765
tetradic
#652BC7 #C72B3F #8DC72B #2BC7B3
square
#652BC7 #C72B3F #8DC72B #2BC7B3
split-complementary
#652BC7 #C7B32B #3FC72B
monochromatic
#321562 #4B2095 #652BC7 #8755DA #AA87E5

Accessibility & contrast

On white

7.71
#652BC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#652BC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BC7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BC7#FFFFFF#000000##FFFFFF
##652BC71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#455879
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #652bc7;
/* rgb */ color: rgb(101, 43, 199);
/* oklch */ color: oklch(46.8% 0.220 292.6);
Tailwind
colors: {
  custom: {
    50: '#9b6cd9',
    500: '#652bc7',
    950: '#000000',
  },
}
SCSS
$custom: #652bc7;
$custom-light: #9b6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#652bc7",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 199
  },
  "hsl": {
    "h": 262.308,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.22004,
    "h": 292.6
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #652BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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