#652DB7#652DB7

#652DB7 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.201 H 295.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#652DB7
RGBrgb(101, 45, 183)
HSLhsl(264, 61%, 45%)
HSVhsv(264, 75%, 72%)
CMYKcmyk(44.8%, 75.4%, 0%, 28.2%)
CIE-LABlab(34.11, 53.30, -63.20)
CIE-LCHlch(34.11, 82.67, 310.14°)
OKLaboklab(45.6% 0.0873 -0.181)
OKLCHoklch(45.6% 0.201 295.8)
XYZxyz(14.8502, 8.0620, 45.5643)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DB7 #7FB72D
analogous
#2D3AB7 #652DB7 #AA2DB7
triadic
#652DB7 #B7652D #2DB765
tetradic
#652DB7 #B72D3A #7FB72D #2DB7AA
square
#652DB7 #B72D3A #7FB72D #2DB7AA
split-complementary
#652DB7 #B7AA2D #3AB72D
monochromatic
#2F1555 #4A2186 #652DB7 #844ED3 #A67FDF

Accessibility & contrast

On white

8.04
#652DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#652DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DB7
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DB7#FFFFFF#000000##FFFFFF
##652DB71.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#4E5270
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652db7;
/* rgb */ color: rgb(101, 45, 183);
/* oklch */ color: oklch(45.6% 0.201 295.8);
Tailwind
colors: {
  custom: {
    50: '#996cce',
    500: '#652db7',
    950: '#000000',
  },
}
SCSS
$custom: #652db7;
$custom-light: #996cce;
$custom-dark: #000000;
JSON
{
  "hex": "#652db7",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 264.348,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.20099,
    "h": 295.8
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #652DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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