#652FD7#652FD7

#652FD7 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.233 H 289.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#652FD7
RGBrgb(101, 47, 215)
HSLhsl(259, 68%, 51%)
HSVhsv(259, 78%, 84%)
CMYKcmyk(53%, 78.1%, 0%, 15.7%)
CIE-LABlab(37.31, 60.75, -76.64)
CIE-LCHlch(37.31, 97.79, 308.40°)
OKLaboklab(48.72% 0.0769 -0.2204)
OKLCHoklch(48.72% 0.233 289.2)
XYZxyz(18.6455, 9.7051, 65.1676)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FD7 #A1D72F
analogous
#2F4DD7 #652FD7 #B92FD7
triadic
#652FD7 #D7652F #2FD765
tetradic
#652FD7 #D72F4D #A1D72F #2FD7B9
square
#652FD7 #D72F4D #A1D72F #2FD7B9
split-complementary
#652FD7 #D7B92F #4DD72F
monochromatic
#351775 #4C20A8 #652FD7 #8B62E1 #B196EB

Accessibility & contrast

On white

7.14
#652FD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#652FD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FD7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FD7#FFFFFF#000000##FFFFFF
##652FD71.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDC
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#386083
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #652fd7;
/* rgb */ color: rgb(101, 47, 215);
/* oklch */ color: oklch(48.7% 0.233 289.2);
Tailwind
colors: {
  custom: {
    50: '#9d6fe5',
    500: '#652fd7',
    950: '#000000',
  },
}
SCSS
$custom: #652fd7;
$custom-light: #9d6fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#652fd7",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 215
  },
  "hsl": {
    "h": 259.286,
    "s": 67.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48715,
    "c": 0.23343,
    "h": 289.2
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#652FD7
secondary
#BED68C
accent
#EB3DB3
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #652FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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