#652DB8#652DB8

#652DB8 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.202 H 295.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#652DB8
RGBrgb(101, 45, 184)
HSLhsl(264, 61%, 45%)
HSVhsv(264, 76%, 72%)
CMYKcmyk(45.1%, 75.5%, 0%, 27.8%)
CIE-LABlab(34.20, 53.56, -63.65)
CIE-LCHlch(34.20, 83.18, 310.08°)
OKLaboklab(45.69% 0.0871 -0.1824)
OKLCHoklch(45.69% 0.202 295.5)
XYZxyz(14.9546, 8.1038, 46.1144)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DB8 #80B82D
analogous
#2D3AB8 #652DB8 #AB2DB8
triadic
#652DB8 #B8652D #2DB865
tetradic
#652DB8 #B82D3A #80B82D #2DB8AB
square
#652DB8 #B82D3A #80B82D #2DB8AB
split-complementary
#652DB8 #B8AB2D #3AB82D
monochromatic
#2F1556 #4A2187 #652DB8 #844ED4 #A680E0

Accessibility & contrast

On white

8.01
#652DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#652DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652DB8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DB8#FFFFFF#000000##FFFFFF
##652DB81.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#4E5271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652db8;
/* rgb */ color: rgb(101, 45, 184);
/* oklch */ color: oklch(45.7% 0.202 295.5);
Tailwind
colors: {
  custom: {
    50: '#996cce',
    500: '#652db8',
    950: '#000000',
  },
}
SCSS
$custom: #652db8;
$custom-light: #996cce;
$custom-dark: #000000;
JSON
{
  "hex": "#652db8",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 264.173,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.20208,
    "h": 295.5
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #652DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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