#652BB4#652BB4

#652BB4 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.200 H 296.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#652BB4
RGBrgb(101, 43, 180)
HSLhsl(265, 61%, 44%)
HSVhsv(265, 76%, 71%)
CMYKcmyk(43.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(33.54, 53.42, -62.35)
CIE-LCHlch(33.54, 82.11, 310.59°)
OKLaboklab(45.12% 0.0898 -0.1785)
OKLCHoklch(45.12% 0.2 296.7)
XYZxyz(14.4667, 7.7894, 43.9125)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BB4 #7AB42B
analogous
#2B36B4 #652BB4 #A92BB4
triadic
#652BB4 #B4652B #2BB465
tetradic
#652BB4 #B42B36 #7AB42B #2BB4A9
square
#652BB4 #B42B36 #7AB42B #2BB4A9
split-complementary
#652BB4 #B4A92B #36B42B
monochromatic
#2E1351 #491F83 #652BB4 #8349D3 #A57ADF

Accessibility & contrast

On white

8.21
#652BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#652BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BB4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BB4#FFFFFF#000000##FFFFFF
##652BB41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#50506E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652bb4;
/* rgb */ color: rgb(101, 43, 180);
/* oklch */ color: oklch(45.1% 0.200 296.7);
Tailwind
colors: {
  custom: {
    50: '#986bcb',
    500: '#652bb4',
    950: '#000000',
  },
}
SCSS
$custom: #652bb4;
$custom-light: #986bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#652bb4",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 265.401,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45121,
    "c": 0.19985,
    "h": 296.7
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#652BB4
secondary
#A4C773
accent
#E543A0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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