#652FB7#652FB7

#652FB7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.199 H 295.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#652FB7
RGBrgb(101, 47, 183)
HSLhsl(264, 59%, 45%)
HSVhsv(264, 74%, 72%)
CMYKcmyk(44.8%, 74.3%, 0%, 28.2%)
CIE-LABlab(34.43, 52.38, -62.67)
CIE-LCHlch(34.43, 81.68, 309.89°)
OKLaboklab(45.83% 0.0856 -0.1795)
OKLCHoklch(45.83% 0.199 295.5)
XYZxyz(14.9283, 8.2183, 45.5903)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FB7 #81B72F
analogous
#2F3DB7 #652FB7 #A92FB7
triadic
#652FB7 #B7652F #2FB765
tetradic
#652FB7 #B72F3D #81B72F #2FB7A9
square
#652FB7 #B72F3D #81B72F #2FB7A9
split-complementary
#652FB7 #B7A92F #3DB72F
monochromatic
#2F1656 #4A2286 #652FB7 #8451D2 #A782DF

Accessibility & contrast

On white

7.94
#652FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#652FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FB7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FB7#FFFFFF#000000##FFFFFF
##652FB71.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652fb7;
/* rgb */ color: rgb(101, 47, 183);
/* oklch */ color: oklch(45.8% 0.199 295.5);
Tailwind
colors: {
  custom: {
    50: '#986dce',
    500: '#652fb7',
    950: '#000000',
  },
}
SCSS
$custom: #652fb7;
$custom-light: #986dce;
$custom-dark: #000000;
JSON
{
  "hex": "#652fb7",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 263.824,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.19887,
    "h": 295.5
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#652FB7
secondary
#A9C87A
accent
#E245A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #652FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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