#652EB4#652EB4

#652EB4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.197 H 296.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#652EB4
RGBrgb(101, 46, 180)
HSLhsl(265, 59%, 44%)
HSVhsv(265, 74%, 71%)
CMYKcmyk(43.9%, 74.4%, 0%, 29.4%)
CIE-LABlab(34.02, 52.07, -61.57)
CIE-LCHlch(34.02, 80.64, 310.22°)
OKLaboklab(45.46% 0.0872 -0.1763)
OKLCHoklch(45.46% 0.197 296.3)
XYZxyz(14.5799, 8.0157, 43.9502)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EB4 #7DB42E
analogous
#2E3AB4 #652EB4 #A82EB4
triadic
#652EB4 #B4652E #2EB465
tetradic
#652EB4 #B42E3A #7DB42E #2EB4A8
square
#652EB4 #B42E3A #7DB42E #2EB4A8
split-complementary
#652EB4 #B4A82E #3AB42E
monochromatic
#2E1553 #4A2283 #652EB4 #844ED2 #A67EDE

Accessibility & contrast

On white

8.07
#652EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#652EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EB4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EB4#FFFFFF#000000##FFFFFF
##652EB41.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652eb4;
/* rgb */ color: rgb(101, 46, 180);
/* oklch */ color: oklch(45.5% 0.197 296.3);
Tailwind
colors: {
  custom: {
    50: '#986ccb',
    500: '#652eb4',
    950: '#000000',
  },
}
SCSS
$custom: #652eb4;
$custom-light: #986ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#652eb4",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 264.627,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.19667,
    "h": 296.3
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#652EB4
secondary
#A6C777
accent
#E245A2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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