#652EB2#652EB2

#652EB2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.194 H 296.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#652EB2
RGBrgb(101, 46, 178)
HSLhsl(265, 59%, 44%)
HSVhsv(265, 74%, 70%)
CMYKcmyk(43.3%, 74.2%, 0%, 30.2%)
CIE-LABlab(33.85, 51.56, -60.66)
CIE-LCHlch(33.85, 79.61, 310.36°)
OKLaboklab(45.28% 0.0877 -0.1736)
OKLCHoklch(45.28% 0.194 296.8)
XYZxyz(14.3776, 7.9347, 42.8849)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EB2 #7BB22E
analogous
#2E39B2 #652EB2 #A72EB2
triadic
#652EB2 #B2652E #2EB265
tetradic
#652EB2 #B22E39 #7BB22E #2EB2A7
square
#652EB2 #B22E39 #7BB22E #2EB2A7
split-complementary
#652EB2 #B2A72E #39B22E
monochromatic
#2E1551 #492181 #652EB2 #844CD1 #A57DDD

Accessibility & contrast

On white

8.12
#652EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#652EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EB2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EB2#FFFFFF#000000##FFFFFF
##652EB21.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#51506E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652eb2;
/* rgb */ color: rgb(101, 46, 178);
/* oklch */ color: oklch(45.3% 0.194 296.8);
Tailwind
colors: {
  custom: {
    50: '#986cca',
    500: '#652eb2',
    950: '#000000',
  },
}
SCSS
$custom: #652eb2;
$custom-light: #986cca;
$custom-dark: #000000;
JSON
{
  "hex": "#652eb2",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 265,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45283,
    "c": 0.19448,
    "h": 296.8
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#652EB2
secondary
#A5C676
accent
#E246A1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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