#652BC2#652BC2

#652BC2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.215 H 293.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#652BC2
RGBrgb(101, 43, 194)
HSLhsl(263, 64%, 46%)
HSVhsv(263, 78%, 76%)
CMYKcmyk(47.9%, 77.8%, 0%, 23.9%)
CIE-LABlab(34.78, 57.00, -68.58)
CIE-LCHlch(34.78, 89.18, 309.73°)
OKLaboklab(46.37% 0.0859 -0.1968)
OKLCHoklch(46.37% 0.215 293.6)
XYZxyz(15.9656, 8.3890, 51.8065)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652BC2 #88C22B
analogous
#2B3DC2 #652BC2 #B12BC2
triadic
#652BC2 #C2652B #2BC265
tetradic
#652BC2 #C22B3D #88C22B #2BC2B1
square
#652BC2 #C22B3D #88C22B #2BC2B1
split-complementary
#652BC2 #C2B12B #3DC22B
monochromatic
#31155E #4B2090 #652BC2 #8552D9 #A984E4

Accessibility & contrast

On white

7.84
#652BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#652BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652BC2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652BC2#FFFFFF#000000##FFFFFF
##652BC21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#485576
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #652bc2;
/* rgb */ color: rgb(101, 43, 194);
/* oklch */ color: oklch(46.4% 0.215 293.6);
Tailwind
colors: {
  custom: {
    50: '#9a6bd6',
    500: '#652bc2',
    950: '#000000',
  },
}
SCSS
$custom: #652bc2;
$custom-light: #9a6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#652bc2",
  "rgb": {
    "r": 101,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 263.046,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.21475,
    "h": 293.6
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#652BC2
secondary
#AECD7C
accent
#E741A7
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #652BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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