#6532C2#6532C2

#6532C2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.208 H 292.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6532C2
RGBrgb(101, 50, 194)
HSLhsl(261, 59%, 48%)
HSVhsv(261, 74%, 76%)
CMYKcmyk(47.9%, 74.2%, 0%, 23.9%)
CIE-LABlab(35.87, 53.87, -66.79)
CIE-LCHlch(35.87, 85.81, 308.89°)
OKLaboklab(47.13% 0.0804 -0.1916)
OKLCHoklch(47.13% 0.208 292.8)
XYZxyz(16.2423, 8.9424, 51.8987)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6532C2 #8FC232
analogous
#3247C2 #6532C2 #AD32C2
triadic
#6532C2 #C26532 #32C265
tetradic
#6532C2 #C23247 #8FC232 #32C2AD
square
#6532C2 #C23247 #8FC232 #32C2AD
split-complementary
#6532C2 #C2AD32 #47C232
monochromatic
#321961 #4C2591 #6532C2 #875CD5 #AB8DE2

Accessibility & contrast

On white

7.53
#6532C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6532C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6532C2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6532C2#FFFFFF#000000##FFFFFF
##6532C21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#485978
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6532c2;
/* rgb */ color: rgb(101, 50, 194);
/* oklch */ color: oklch(47.1% 0.208 292.8);
Tailwind
colors: {
  custom: {
    50: '#9a6fd6',
    500: '#6532c2',
    950: '#000000',
  },
}
SCSS
$custom: #6532c2;
$custom-light: #9a6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6532c2",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 261.25,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.20779,
    "h": 292.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#6532C2
secondary
#B2CC84
accent
#E246AB
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6532C2

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

Preview Lab → · Contrast checker → · Palette generator →

#6532C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva