#6348CA#6348CA

#6348CA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.192 H 287.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6348CA
RGBrgb(99, 72, 202)
HSLhsl(252, 55%, 54%)
HSVhsv(252, 64%, 79%)
CMYKcmyk(51%, 64.4%, 0%, 20.8%)
CIE-LABlab(40.49, 44.27, -63.92)
CIE-LCHlch(40.49, 77.75, 304.70°)
OKLaboklab(50.59% 0.0559 -0.1833)
OKLCHoklch(50.59% 0.192 287)
XYZxyz(18.1205, 11.5508, 57.1404)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348CA #AFCA48
analogous
#486ECA #6348CA #A448CA
triadic
#6348CA #CA6348 #48CA63
tetradic
#6348CA #CA486E #AFCA48 #48CAA4
square
#6348CA #CA486E #AFCA48 #48CAA4
split-complementary
#6348CA #CAA448 #6ECA48
monochromatic
#332276 #4830A5 #6348CA #8B77D8 #B4A7E5

Accessibility & contrast

On white

6.34
#6348CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6348CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348CA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348CA#FFFFFF#000000##FFFFFF
##6348CA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#3D6882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6348ca;
/* rgb */ color: rgb(99, 72, 202);
/* oklch */ color: oklch(50.6% 0.192 287.0);
Tailwind
colors: {
  custom: {
    50: '#987cdb',
    500: '#6348ca',
    950: '#000000',
  },
}
SCSS
$custom: #6348ca;
$custom-light: #987cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6348ca",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 252.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.19165,
    "h": 287
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#6348CA
secondary
#C7D39B
accent
#DE49BF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6348CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6348CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva