#6352AB#6352AB

#6352AB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.0% C 0.137 H 289.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6352AB
RGBrgb(99, 82, 171)
HSLhsl(251, 35%, 50%)
HSVhsv(251, 52%, 67%)
CMYKcmyk(42.1%, 52%, 0%, 32.9%)
CIE-LABlab(40.62, 29.20, -45.56)
CIE-LCHlch(40.62, 54.11, 302.66°)
OKLaboklab(50% 0.0452 -0.1293)
OKLCHoklch(50% 0.137 289.3)
XYZxyz(15.5115, 11.6270, 39.9471)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6352AB #9AAB52
analogous
#526DAB #6352AB #9052AB
triadic
#6352AB #AB6352 #52AB63
tetradic
#6352AB #AB526D #9AAB52 #52AB90
square
#6352AB #AB526D #9AAB52 #52AB90
split-complementary
#6352AB #AB9052 #6DAB52
monochromatic
#332A58 #4B3E82 #6352AB #887BC0 #ADA4D3

Accessibility & contrast

On white

6.31
#6352AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6352AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6352AB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6352AB#FFFFFF#000000##FFFFFF
##6352AB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AE
Deuteranopia (green-blind)
#2C5EA9
Tritanopia (blue-blind)
#4F6576
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6352ab;
/* rgb */ color: rgb(99, 82, 171);
/* oklch */ color: oklch(50.0% 0.137 289.3);
Tailwind
colors: {
  custom: {
    50: '#9483c4',
    500: '#6352ab',
    950: '#000000',
  },
}
SCSS
$custom: #6352ab;
$custom-light: #9483c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6352ab",
  "rgb": {
    "r": 99,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 251.461,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.13699,
    "h": 289.3
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#6352AB
secondary
#B9C198
accent
#CB5DB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6352AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6352AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva