#652BB3#652BB3

#652BB3 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.199 H 296.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#652BB3
RGBrgb(101, 43, 179)
HSLhsl(266, 61%, 44%)
HSVhsv(266, 76%, 70%)
CMYKcmyk(43.6%, 76%, 0%, 29.8%)
CIE-LABlab(33.45, 53.17, -61.90)
CIE-LCHlch(33.45, 81.60, 310.66°)
OKLaboklab(45.03% 0.0901 -0.1772)
OKLCHoklch(45.03% 0.199 296.9)
XYZxyz(14.3652, 7.7488, 43.3779)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BB3 #79B32B
analogous
#2B35B3 #652BB3 #A92BB3
triadic
#652BB3 #B3652B #2BB365
tetradic
#652BB3 #B32B35 #79B32B #2BB3A9
square
#652BB3 #B32B35 #79B32B #2BB3A9
split-complementary
#652BB3 #B3A92B #35B32B
monochromatic
#2D1350 #491F82 #652BB3 #8348D3 #A579DF

Accessibility & contrast

On white

8.24
#652BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#652BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BB3
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BB3#FFFFFF#000000##FFFFFF
##652BB31.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#504F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652bb3;
/* rgb */ color: rgb(101, 43, 179);
/* oklch */ color: oklch(45.0% 0.199 296.9);
Tailwind
colors: {
  custom: {
    50: '#986bcb',
    500: '#652bb3',
    950: '#000000',
  },
}
SCSS
$custom: #652bb3;
$custom-light: #986bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#652bb3",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 265.588,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.19878,
    "h": 296.9
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#652BB3
secondary
#A3C773
accent
#E443A0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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