#652DB4#652DB4

#652DB4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.198 H 296.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#652DB4
RGBrgb(101, 45, 180)
HSLhsl(265, 60%, 44%)
HSVhsv(265, 75%, 71%)
CMYKcmyk(43.9%, 75%, 0%, 29.4%)
CIE-LABlab(33.85, 52.53, -61.84)
CIE-LCHlch(33.85, 81.14, 310.35°)
OKLaboklab(45.34% 0.0881 -0.177)
OKLCHoklch(45.34% 0.198 296.5)
XYZxyz(14.5413, 7.9384, 43.9373)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DB4 #7CB42D
analogous
#2D39B4 #652DB4 #A92DB4
triadic
#652DB4 #B4652D #2DB465
tetradic
#652DB4 #B42D39 #7CB42D #2DB4A9
square
#652DB4 #B42D39 #7CB42D #2DB4A9
split-complementary
#652DB4 #B4A92D #39B42D
monochromatic
#2E1552 #4A2183 #652DB4 #844CD2 #A57DDE

Accessibility & contrast

On white

8.12
#652DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#652DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DB4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DB4#FFFFFF#000000##FFFFFF
##652DB41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#50516F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652db4;
/* rgb */ color: rgb(101, 45, 180);
/* oklch */ color: oklch(45.3% 0.198 296.5);
Tailwind
colors: {
  custom: {
    50: '#986ccb',
    500: '#652db4',
    950: '#000000',
  },
}
SCSS
$custom: #652db4;
$custom-light: #986ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#652db4",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 264.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.19775,
    "h": 296.5
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#652DB4
secondary
#A5C776
accent
#E345A1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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