#652FB5#652FB5

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

Color values

HEX#652FB5
RGBrgb(101, 47, 181)
HSLhsl(264, 59%, 45%)
HSVhsv(264, 74%, 71%)
CMYKcmyk(44.2%, 74%, 0%, 29%)
CIE-LABlab(34.26, 51.87, -61.76)
CIE-LCHlch(34.26, 80.65, 310.02°)
OKLaboklab(45.66% 0.0861 -0.1768)
OKLCHoklch(45.66% 0.197 296)
XYZxyz(14.7216, 8.1356, 44.5018)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FB5 #7FB52F
analogous
#2F3CB5 #652FB5 #A82FB5
triadic
#652FB5 #B5652F #2FB565
tetradic
#652FB5 #B52F3C #7FB52F #2FB5A8
square
#652FB5 #B52F3C #7FB52F #2FB5A8
split-complementary
#652FB5 #B5A82F #3CB52F
monochromatic
#2F1654 #4A2284 #652FB5 #8450D1 #A680DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##652FB5#FFFFFF#000000##FFFFFF
##652FB51.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)
#0051B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#4F5270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #652fb5;
/* rgb */ color: rgb(101, 47, 181);
/* oklch */ color: oklch(45.7% 0.197 296.0);
Tailwind
colors: {
  custom: {
    50: '#986dcc',
    500: '#652fb5',
    950: '#000000',
  },
}
SCSS
$custom: #652fb5;
$custom-light: #986dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#652fb5",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 264.179,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.19667,
    "h": 296
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#652FB5
secondary
#A7C779
accent
#E246A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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