#652FB4#652FB4

#652FB4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.196 H 296.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#652FB4
RGBrgb(101, 47, 180)
HSLhsl(264, 59%, 45%)
HSVhsv(264, 74%, 71%)
CMYKcmyk(43.9%, 73.9%, 0%, 29.4%)
CIE-LABlab(34.18, 51.61, -61.31)
CIE-LCHlch(34.18, 80.14, 310.09°)
OKLaboklab(45.57% 0.0863 -0.1755)
OKLCHoklch(45.57% 0.196 296.2)
XYZxyz(14.6194, 8.0947, 43.9633)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FB4 #7EB42F
analogous
#2F3CB4 #652FB4 #A82FB4
triadic
#652FB4 #B4652F #2FB465
tetradic
#652FB4 #B42F3C #7EB42F #2FB4A8
square
#652FB4 #B42F3C #7EB42F #2FB4A8
split-complementary
#652FB4 #B4A82F #3CB42F
monochromatic
#2F1653 #4A2283 #652FB4 #844FD1 #A680DE

Accessibility & contrast

On white

8.02
#652FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#652FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FB4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FB4#FFFFFF#000000##FFFFFF
##652FB41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#50526F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652fb4;
/* rgb */ color: rgb(101, 47, 180);
/* oklch */ color: oklch(45.6% 0.196 296.2);
Tailwind
colors: {
  custom: {
    50: '#986dcb',
    500: '#652fb4',
    950: '#000000',
  },
}
SCSS
$custom: #652fb4;
$custom-light: #986dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#652fb4",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 264.361,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.19557,
    "h": 296.2
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#652FB4
secondary
#A7C778
accent
#E246A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #652FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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