#652EB6#652EB6

#652EB6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.199 H 295.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#652EB6
RGBrgb(101, 46, 182)
HSLhsl(264, 60%, 45%)
HSVhsv(264, 75%, 71%)
CMYKcmyk(44.5%, 74.7%, 0%, 28.6%)
CIE-LABlab(34.19, 52.59, -62.48)
CIE-LCHlch(34.19, 81.67, 310.09°)
OKLaboklab(45.63% 0.0867 -0.1789)
OKLCHoklch(45.63% 0.199 295.9)
XYZxyz(14.7851, 8.0977, 45.0309)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EB6 #7FB62E
analogous
#2E3BB6 #652EB6 #A92EB6
triadic
#652EB6 #B6652E #2EB665
tetradic
#652EB6 #B62E3B #7FB62E #2EB6A9
square
#652EB6 #B62E3B #7FB62E #2EB6A9
split-complementary
#652EB6 #B6A92E #3BB62E
monochromatic
#2F1554 #4A2285 #652EB6 #844FD2 #A680DF

Accessibility & contrast

On white

8.02
#652EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#652EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EB6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EB6#FFFFFF#000000##FFFFFF
##652EB61.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#4F5270
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652eb6;
/* rgb */ color: rgb(101, 46, 182);
/* oklch */ color: oklch(45.6% 0.199 295.9);
Tailwind
colors: {
  custom: {
    50: '#986ccd',
    500: '#652eb6',
    950: '#000000',
  },
}
SCSS
$custom: #652eb6;
$custom-light: #986ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#652eb6",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 264.265,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.19885,
    "h": 295.9
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#652EB6
secondary
#A7C878
accent
#E345A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #652EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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