#652AB5#652AB5

#652AB5 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.202 H 296.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#652AB5
RGBrgb(101, 42, 181)
HSLhsl(265, 62%, 44%)
HSVhsv(265, 77%, 71%)
CMYKcmyk(44.2%, 76.8%, 0%, 29%)
CIE-LABlab(33.47, 54.11, -63.05)
CIE-LCHlch(33.47, 83.09, 310.64°)
OKLaboklab(45.1% 0.0904 -0.1806)
OKLCHoklch(45.1% 0.202 296.6)
XYZxyz(14.5331, 7.7585, 44.4389)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652AB5 #7AB52A
analogous
#2A34B5 #652AB5 #AA2AB5
triadic
#652AB5 #B5652A #2AB565
tetradic
#652AB5 #B52A34 #7AB52A #2AB5AA
square
#652AB5 #B52A34 #7AB52A #2AB5AA
split-complementary
#652AB5 #B5AA2A #34B52A
monochromatic
#2E1352 #491E83 #652AB5 #8348D4 #A579E0

Accessibility & contrast

On white

8.23
#652AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #652AB5
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652AB5#FFFFFF#000000##FFFFFF
##652AB51.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#4F506E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652ab5;
/* rgb */ color: rgb(101, 42, 181);
/* oklch */ color: oklch(45.1% 0.202 296.6);
Tailwind
colors: {
  custom: {
    50: '#996acc',
    500: '#652ab5',
    950: '#000000',
  },
}
SCSS
$custom: #652ab5;
$custom-light: #996acc;
$custom-dark: #000000;
JSON
{
  "hex": "#652ab5",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 265.468,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.20193,
    "h": 296.6
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#652AB5
secondary
#A4C873
accent
#E542A0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #652AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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