#652EB7#652EB7

#652EB7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.200 H 295.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#652EB7
RGBrgb(101, 46, 183)
HSLhsl(264, 60%, 45%)
HSVhsv(264, 75%, 72%)
CMYKcmyk(44.8%, 74.9%, 0%, 28.2%)
CIE-LABlab(34.27, 52.85, -62.94)
CIE-LCHlch(34.27, 82.18, 310.02°)
OKLaboklab(45.71% 0.0865 -0.1803)
OKLCHoklch(45.71% 0.2 295.6)
XYZxyz(14.8888, 8.1392, 45.5771)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EB7 #80B72E
analogous
#2E3BB7 #652EB7 #AA2EB7
triadic
#652EB7 #B7652E #2EB765
tetradic
#652EB7 #B72E3B #80B72E #2EB7AA
square
#652EB7 #B72E3B #80B72E #2EB7AA
split-complementary
#652EB7 #B7AA2E #3BB72E
monochromatic
#2F1555 #4A2286 #652EB7 #844FD3 #A680DF

Accessibility & contrast

On white

7.99
#652EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#652EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652EB7
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EB7#FFFFFF#000000##FFFFFF
##652EB71.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#4E5270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #652eb7;
/* rgb */ color: rgb(101, 46, 183);
/* oklch */ color: oklch(45.7% 0.200 295.6);
Tailwind
colors: {
  custom: {
    50: '#986cce',
    500: '#652eb7',
    950: '#000000',
  },
}
SCSS
$custom: #652eb7;
$custom-light: #986cce;
$custom-dark: #000000;
JSON
{
  "hex": "#652eb7",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 264.088,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.19994,
    "h": 295.6
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #652EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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