#652BB7#652BB7

#652BB7 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.203 H 296.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#652BB7
RGBrgb(101, 43, 183)
HSLhsl(265, 62%, 44%)
HSVhsv(265, 77%, 72%)
CMYKcmyk(44.8%, 76.5%, 0%, 28.2%)
CIE-LABlab(33.80, 54.19, -63.70)
CIE-LCHlch(33.80, 83.63, 310.39°)
OKLaboklab(45.38% 0.089 -0.1825)
OKLCHoklch(45.38% 0.203 296)
XYZxyz(14.7757, 7.9130, 45.5394)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BB7 #7DB72B
analogous
#2B37B7 #652BB7 #AB2BB7
triadic
#652BB7 #B7652B #2BB765
tetradic
#652BB7 #B72B37 #7DB72B #2BB7AB
square
#652BB7 #B72B37 #7DB72B #2BB7AB
split-complementary
#652BB7 #B7AB2B #37B72B
monochromatic
#2E1454 #4A1F85 #652BB7 #844BD5 #A67CE0

Accessibility & contrast

On white

8.13
#652BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#652BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BB7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BB7#FFFFFF#000000##FFFFFF
##652BB71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#4E5170
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #652bb7;
/* rgb */ color: rgb(101, 43, 183);
/* oklch */ color: oklch(45.4% 0.203 296.0);
Tailwind
colors: {
  custom: {
    50: '#996bce',
    500: '#652bb7',
    950: '#000000',
  },
}
SCSS
$custom: #652bb7;
$custom-light: #996bce;
$custom-dark: #000000;
JSON
{
  "hex": "#652bb7",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 264.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.20305,
    "h": 296
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#652BB7
secondary
#A6C975
accent
#E543A2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #652BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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