#6352AC#6352AC

#6352AC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.1% C 0.138 H 289.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6352AC
RGBrgb(99, 82, 172)
HSLhsl(251, 35%, 50%)
HSVhsv(251, 52%, 67%)
CMYKcmyk(42.4%, 52.3%, 0%, 32.5%)
CIE-LABlab(40.68, 29.49, -46.05)
CIE-LCHlch(40.68, 54.69, 302.64°)
OKLaboklab(50.06% 0.0453 -0.1308)
OKLCHoklch(50.06% 0.138 289.1)
XYZxyz(15.6072, 11.6653, 40.4510)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6352AC #9BAC52
analogous
#526EAC #6352AC #9052AC
triadic
#6352AC #AC6352 #52AC63
tetradic
#6352AC #AC526E #9BAC52 #52AC90
square
#6352AC #AC526E #9BAC52 #52AC90
split-complementary
#6352AC #AC9052 #6EAC52
monochromatic
#332A59 #4B3E83 #6352AC #887BC0 #ADA5D4

Accessibility & contrast

On white

6.30
#6352AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6352AC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6352AC#FFFFFF#000000##FFFFFF
##6352AC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#4E6577
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6352ac;
/* rgb */ color: rgb(99, 82, 172);
/* oklch */ color: oklch(50.1% 0.138 289.1);
Tailwind
colors: {
  custom: {
    50: '#9483c5',
    500: '#6352ac',
    950: '#000000',
  },
}
SCSS
$custom: #6352ac;
$custom-light: #9483c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6352ac",
  "rgb": {
    "r": 99,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 251.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.13838,
    "h": 289.1
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#6352AC
secondary
#BAC199
accent
#CB5CB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6352AC

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

Preview Lab → · Contrast checker → · Palette generator →

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