#6347CB#6347CB

#6347CB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.194 H 287.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6347CB
RGBrgb(99, 71, 203)
HSLhsl(253, 56%, 54%)
HSVhsv(253, 65%, 80%)
CMYKcmyk(51.2%, 65%, 0%, 20.4%)
CIE-LABlab(40.36, 45.12, -64.71)
CIE-LCHlch(40.36, 78.89, 304.89°)
OKLaboklab(50.52% 0.0568 -0.1856)
OKLCHoklch(50.52% 0.194 287)
XYZxyz(18.1751, 11.4700, 57.7446)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6347CB #AFCB47
analogous
#476DCB #6347CB #A547CB
triadic
#6347CB #CB6347 #47CB63
tetradic
#6347CB #CB476D #AFCB47 #47CBA5
square
#6347CB #CB476D #AFCB47 #47CBA5
split-complementary
#6347CB #CBA547 #6DCB47
monochromatic
#332176 #482FA6 #6347CB #8B77D8 #B4A6E6

Accessibility & contrast

On white

6.37
#6347CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6347CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6347CB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6347CB#FFFFFF#000000##FFFFFF
##6347CB1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#3C6783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6347cb;
/* rgb */ color: rgb(99, 71, 203);
/* oklch */ color: oklch(50.5% 0.194 287.0);
Tailwind
colors: {
  custom: {
    50: '#987cdc',
    500: '#6347cb',
    950: '#000000',
  },
}
SCSS
$custom: #6347cb;
$custom-light: #987cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6347cb",
  "rgb": {
    "r": 99,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 252.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.19413,
    "h": 287
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#6347CB
secondary
#C7D39B
accent
#DF49BF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6347CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6347CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva