#652FB0#652FB0

#652FB0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.191 H 297.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#652FB0
RGBrgb(101, 47, 176)
HSLhsl(265, 58%, 44%)
HSVhsv(265, 73%, 69%)
CMYKcmyk(42.6%, 73.3%, 0%, 31%)
CIE-LABlab(33.85, 50.57, -59.47)
CIE-LCHlch(33.85, 78.07, 310.38°)
OKLaboklab(45.23% 0.0872 -0.1701)
OKLCHoklch(45.23% 0.191 297.1)
XYZxyz(14.2178, 7.9340, 41.8482)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652FB0 #7AB02F
analogous
#2F39B0 #652FB0 #A52FB0
triadic
#652FB0 #B0652F #2FB065
tetradic
#652FB0 #B02F39 #7AB02F #2FB0A5
square
#652FB0 #B02F39 #7AB02F #2FB0A5
split-complementary
#652FB0 #B0A52F #39B02F
monochromatic
#2E154F #492280 #652FB0 #834DCF #A57DDC

Accessibility & contrast

On white

8.12
#652FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#652FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652FB0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652FB0#FFFFFF#000000##FFFFFF
##652FB01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#52506D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #652fb0;
/* rgb */ color: rgb(101, 47, 176);
/* oklch */ color: oklch(45.2% 0.191 297.1);
Tailwind
colors: {
  custom: {
    50: '#986dc9',
    500: '#652fb0',
    950: '#000000',
  },
}
SCSS
$custom: #652fb0;
$custom-light: #986dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#652fb0",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 265.116,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.19117,
    "h": 297.1
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#652FB0
secondary
#A4C576
accent
#E147A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #652FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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