#652DFF#652DFF

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

Color values

HEX#652DFF
RGBrgb(101, 45, 255)
HSLhsl(256, 100%, 59%)
HSVhsv(256, 82%, 100%)
CMYKcmyk(60.4%, 82.4%, 0%, 0%)
CIE-LABlab(41.00, 71.89, -93.24)
CIE-LCHlch(41.00, 117.73, 307.63°)
OKLaboklab(52.43% 0.065 -0.2688)
OKLCHoklch(52.43% 0.277 283.6)
XYZxyz(24.3496, 11.8618, 95.5948)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652DFF #C7FF2D
analogous
#2D5EFF #652DFF #CE2DFF
triadic
#652DFF #FF652D #2DFF65
tetradic
#652DFF #FF2D5E #C7FF2D #2DFFCE
square
#652DFF #FF2D5E #C7FF2D #2DFFCE
split-complementary
#652DFF #FFCE2D #5EFF2D
monochromatic
#2F00B2 #4000EF #652DFF #926AFF #BFA7FF

Accessibility & contrast

On white

6.23
#652DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#652DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #652DFF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652DFF#FFFFFF#000000##FFFFFF
##652DFF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067FF
Deuteranopia (green-blind)
#005AFB
Tritanopia (blue-blind)
#00709A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #652dff;
/* rgb */ color: rgb(101, 45, 255);
/* oklch */ color: oklch(52.4% 0.277 283.6);
Tailwind
colors: {
  custom: {
    50: '#a370ff',
    500: '#652dff',
    950: '#000000',
  },
}
SCSS
$custom: #652dff;
$custom-light: #a370ff;
$custom-dark: #000000;
JSON
{
  "hex": "#652dff",
  "rgb": {
    "r": 101,
    "g": 45,
    "b": 255
  },
  "hsl": {
    "h": 256,
    "s": 100,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.27659,
    "h": 283.6
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #652DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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