#652EB0#652EB0

#652EB0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.192 H 297.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#652EB0
RGBrgb(101, 46, 176)
HSLhsl(265, 59%, 44%)
HSVhsv(265, 74%, 69%)
CMYKcmyk(42.6%, 73.9%, 0%, 31%)
CIE-LABlab(33.68, 51.04, -59.74)
CIE-LCHlch(33.68, 78.58, 310.51°)
OKLaboklab(45.11% 0.0882 -0.1709)
OKLCHoklch(45.11% 0.192 297.3)
XYZxyz(14.1783, 7.8550, 41.8350)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EB0 #79B02E
analogous
#2E38B0 #652EB0 #A62EB0
triadic
#652EB0 #B0652E #2EB065
tetradic
#652EB0 #B02E38 #79B02E #2EB0A6
square
#652EB0 #B02E38 #79B02E #2EB0A6
split-complementary
#652EB0 #B0A62E #38B02E
monochromatic
#2D154F #49217F #652EB0 #834BD0 #A57CDD

Accessibility & contrast

On white

8.17
#652EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#652EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EB0
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EB0#FFFFFF#000000##FFFFFF
##652EB01.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#52506D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652eb0;
/* rgb */ color: rgb(101, 46, 176);
/* oklch */ color: oklch(45.1% 0.192 297.3);
Tailwind
colors: {
  custom: {
    50: '#986cc9',
    500: '#652eb0',
    950: '#000000',
  },
}
SCSS
$custom: #652eb0;
$custom-light: #986cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#652eb0",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 265.385,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45113,
    "c": 0.19229,
    "h": 297.3
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#652EB0
secondary
#A3C575
accent
#E246A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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