#652FB8#652FB8

#652FB8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.200 H 295.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#652FB8
RGBrgb(101, 47, 184)
HSLhsl(264, 59%, 45%)
HSVhsv(264, 74%, 72%)
CMYKcmyk(45.1%, 74.5%, 0%, 27.8%)
CIE-LABlab(34.52, 52.65, -63.12)
CIE-LCHlch(34.52, 82.19, 309.83°)
OKLaboklab(45.91% 0.0854 -0.1808)
OKLCHoklch(45.91% 0.2 295.3)
XYZxyz(15.0327, 8.2600, 46.1404)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FB8 #82B82F
analogous
#2F3DB8 #652FB8 #AA2FB8
triadic
#652FB8 #B8652F #2FB865
tetradic
#652FB8 #B82F3D #82B82F #2FB8AA
square
#652FB8 #B82F3D #82B82F #2FB8AA
split-complementary
#652FB8 #B8AA2F #3DB82F
monochromatic
#2F1657 #4A2387 #652FB8 #8452D3 #A782DF

Accessibility & contrast

On white

7.92
#652FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#652FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FB8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FB8#FFFFFF#000000##FFFFFF
##652FB81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#4E5371
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #652fb8;
/* rgb */ color: rgb(101, 47, 184);
/* oklch */ color: oklch(45.9% 0.200 295.3);
Tailwind
colors: {
  custom: {
    50: '#996dce',
    500: '#652fb8',
    950: '#000000',
  },
}
SCSS
$custom: #652fb8;
$custom-light: #996dce;
$custom-dark: #000000;
JSON
{
  "hex": "#652fb8",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 263.65,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.19996,
    "h": 295.3
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#652FB8
secondary
#AAC87B
accent
#E245A5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #652FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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