#652DB2#652DB2

#652DB2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.196 H 296.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#652DB2
RGBrgb(101, 45, 178)
HSLhsl(265, 60%, 44%)
HSVhsv(265, 75%, 70%)
CMYKcmyk(43.3%, 74.7%, 0%, 30.2%)
CIE-LABlab(33.68, 52.02, -60.93)
CIE-LCHlch(33.68, 80.11, 310.49°)
OKLaboklab(45.17% 0.0886 -0.1744)
OKLCHoklch(45.17% 0.196 296.9)
XYZxyz(14.3390, 7.8575, 42.8720)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DB2 #7AB22D
analogous
#2D37B2 #652DB2 #A72DB2
triadic
#652DB2 #B2652D #2DB265
tetradic
#652DB2 #B22D37 #7AB22D #2DB2A7
square
#652DB2 #B22D37 #7AB22D #2DB2A7
split-complementary
#652DB2 #B2A72D #37B22D
monochromatic
#2E1450 #492181 #652DB2 #834BD1 #A57CDE

Accessibility & contrast

On white

8.17
#652DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#652DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DB2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DB2#FFFFFF#000000##FFFFFF
##652DB21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#51506D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652db2;
/* rgb */ color: rgb(101, 45, 178);
/* oklch */ color: oklch(45.2% 0.196 296.9);
Tailwind
colors: {
  custom: {
    50: '#986cca',
    500: '#652db2',
    950: '#000000',
  },
}
SCSS
$custom: #652db2;
$custom-light: #986cca;
$custom-dark: #000000;
JSON
{
  "hex": "#652db2",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 265.263,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45169,
    "c": 0.19557,
    "h": 296.9
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#652DB2
secondary
#A4C675
accent
#E345A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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