#652EFE#652EFE

#652EFE is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.4% C 0.275 H 283.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#652EFE
RGBrgb(101, 46, 254)
HSLhsl(256, 99%, 59%)
HSVhsv(256, 82%, 100%)
CMYKcmyk(60.2%, 81.9%, 0%, 0.4%)
CIE-LABlab(41.02, 71.27, -92.65)
CIE-LCHlch(41.02, 116.89, 307.57°)
OKLaboklab(52.42% 0.0649 -0.2671)
OKLCHoklch(52.42% 0.275 283.7)
XYZxyz(24.2277, 11.8748, 94.7621)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652EFE #C7FE2E
analogous
#2E5FFE #652EFE #CD2EFE
triadic
#652EFE #FE652E #2EFE65
tetradic
#652EFE #FE2E5F #C7FE2E #2EFECD
square
#652EFE #FE2E5F #C7FE2E #2EFECD
split-complementary
#652EFE #FECD2E #5FFE2E
monochromatic
#2F01B1 #4001EE #652EFE #926BFE #BFA8FF

Accessibility & contrast

On white

6.22
#652EFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#652EFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #652EFE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652EFE#FFFFFF#000000##FFFFFF
##652EFE1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067FF
Deuteranopia (green-blind)
#005AFA
Tritanopia (blue-blind)
#007099
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #652efe;
/* rgb */ color: rgb(101, 46, 254);
/* oklch */ color: oklch(52.4% 0.275 283.7);
Tailwind
colors: {
  custom: {
    50: '#a370ff',
    500: '#652efe',
    950: '#000000',
  },
}
SCSS
$custom: #652efe;
$custom-light: #a370ff;
$custom-dark: #000000;
JSON
{
  "hex": "#652efe",
  "rgb": {
    "r": 101,
    "g": 46,
    "b": 254
  },
  "hsl": {
    "h": 255.865,
    "s": 99.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.27489,
    "h": 283.7
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#652EFE
secondary
#D7ED9B
accent
#FF29C6
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #652EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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