#652DB6#652DB6

#652DB6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.200 H 296.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#652DB6
RGBrgb(101, 45, 182)
HSLhsl(265, 60%, 45%)
HSVhsv(265, 75%, 71%)
CMYKcmyk(44.5%, 75.3%, 0%, 28.6%)
CIE-LABlab(34.03, 53.04, -62.74)
CIE-LCHlch(34.03, 82.16, 310.21°)
OKLaboklab(45.51% 0.0876 -0.1797)
OKLCHoklch(45.51% 0.2 296)
XYZxyz(14.7465, 8.0205, 45.0181)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DB6 #7EB62D
analogous
#2D39B6 #652DB6 #AA2DB6
triadic
#652DB6 #B6652D #2DB665
tetradic
#652DB6 #B62D39 #7EB62D #2DB6AA
square
#652DB6 #B62D39 #7EB62D #2DB6AA
split-complementary
#652DB6 #B6AA2D #39B62D
monochromatic
#2F1554 #4A2185 #652DB6 #844DD3 #A67EDF

Accessibility & contrast

On white

8.06
#652DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#652DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DB6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DB6#FFFFFF#000000##FFFFFF
##652DB61.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#4F5170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652db6;
/* rgb */ color: rgb(101, 45, 182);
/* oklch */ color: oklch(45.5% 0.200 296.0);
Tailwind
colors: {
  custom: {
    50: '#986ccd',
    500: '#652db6',
    950: '#000000',
  },
}
SCSS
$custom: #652db6;
$custom-light: #986ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#652db6",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 264.526,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.19991,
    "h": 296
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#652DB6
secondary
#A7C877
accent
#E344A2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #652DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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