#652FB6#652FB6

#652FB6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.198 H 295.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#652FB6
RGBrgb(101, 47, 182)
HSLhsl(264, 59%, 45%)
HSVhsv(264, 74%, 71%)
CMYKcmyk(44.5%, 74.2%, 0%, 28.6%)
CIE-LABlab(34.35, 52.13, -62.22)
CIE-LCHlch(34.35, 81.17, 309.96°)
OKLaboklab(45.74% 0.0859 -0.1782)
OKLCHoklch(45.74% 0.198 295.7)
XYZxyz(14.8246, 8.1768, 45.0441)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FB6 #80B62F
analogous
#2F3DB6 #652FB6 #A92FB6
triadic
#652FB6 #B6652F #2FB665
tetradic
#652FB6 #B62F3D #80B62F #2FB6A9
square
#652FB6 #B62F3D #80B62F #2FB6A9
split-complementary
#652FB6 #B6A92F #3DB62F
monochromatic
#2F1655 #4A2285 #652FB6 #8450D2 #A681DE

Accessibility & contrast

On white

7.97
#652FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#652FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FB6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FB6#FFFFFF#000000##FFFFFF
##652FB61.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#4F5270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #652fb6;
/* rgb */ color: rgb(101, 47, 182);
/* oklch */ color: oklch(45.7% 0.198 295.7);
Tailwind
colors: {
  custom: {
    50: '#986dcd',
    500: '#652fb6',
    950: '#000000',
  },
}
SCSS
$custom: #652fb6;
$custom-light: #986dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#652fb6",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 264,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.19777,
    "h": 295.7
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#652FB6
secondary
#A8C779
accent
#E246A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #652FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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