#6348BA#6348BA

#6348BA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.3% C 0.171 H 289.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6348BA
RGBrgb(99, 72, 186)
HSLhsl(254, 45%, 51%)
HSVhsv(254, 61%, 73%)
CMYKcmyk(46.8%, 61.3%, 0%, 27.1%)
CIE-LABlab(39.30, 39.58, -56.53)
CIE-LCHlch(39.30, 69.01, 305.00°)
OKLaboklab(49.34% 0.0572 -0.1616)
OKLCHoklch(49.34% 0.171 289.5)
XYZxyz(16.3234, 10.8319, 47.6755)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348BA #9FBA48
analogous
#4866BA #6348BA #9C48BA
triadic
#6348BA #BA6348 #48BA63
tetradic
#6348BA #BA4866 #9FBA48 #48BA9C
square
#6348BA #BA4866 #9FBA48 #48BA9C
split-complementary
#6348BA #BA9C48 #66BA48
monochromatic
#342562 #4B368F #6348BA #8974CB #AFA1DC

Accessibility & contrast

On white

6.63
#6348BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6348BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348BA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348BA#FFFFFF#000000##FFFFFF
##6348BA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#47627A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6348ba;
/* rgb */ color: rgb(99, 72, 186);
/* oklch */ color: oklch(49.3% 0.171 289.5);
Tailwind
colors: {
  custom: {
    50: '#967ccf',
    500: '#6348ba',
    950: '#000000',
  },
}
SCSS
$custom: #6348ba;
$custom-light: #967ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#6348ba",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 254.211,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.17143,
    "h": 289.5
  },
  "luminance": 0.10833
}

Semantic roles & 50–950 ramp

primary
#6348BA
secondary
#BCC896
accent
#D553B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6348BA

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

Preview Lab → · Contrast checker → · Palette generator →

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