#6326C7#6326C7

#6326C7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.224 H 292.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6326C7
RGBrgb(99, 38, 199)
HSLhsl(263, 68%, 46%)
HSVhsv(263, 81%, 78%)
CMYKcmyk(50.3%, 80.9%, 0%, 22%)
CIE-LABlab(34.32, 60.02, -72.28)
CIE-LCHlch(34.32, 93.95, 309.71°)
OKLaboklab(46.14% 0.0848 -0.2076)
OKLCHoklch(46.14% 0.224 292.2)
XYZxyz(16.1446, 8.1618, 54.7465)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326C7 #8AC726
analogous
#263AC7 #6326C7 #B426C7
triadic
#6326C7 #C76326 #26C763
tetradic
#6326C7 #C7263A #8AC726 #26C7B4
square
#6326C7 #C7263A #8AC726 #26C7B4
split-complementary
#6326C7 #C7B426 #3AC726
monochromatic
#301260 #491C94 #6326C7 #844DDD #A781E7

Accessibility & contrast

On white

7.98
#6326C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6326C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326C7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326C7#FFFFFF#000000##FFFFFF
##6326C71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#415678
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6326c7;
/* rgb */ color: rgb(99, 38, 199);
/* oklch */ color: oklch(46.1% 0.224 292.2);
Tailwind
colors: {
  custom: {
    50: '#9a69d9',
    500: '#6326c7',
    950: '#000000',
  },
}
SCSS
$custom: #6326c7;
$custom-light: #9a69d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6326c7",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 262.733,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.2243,
    "h": 292.2
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#6326C7
secondary
#AFCF79
accent
#EB3DA9
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6326C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6326C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva