#6747CB#6747CB

#6747CB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.194 H 288.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6747CB
RGBrgb(103, 71, 203)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 65%, 80%)
CMYKcmyk(49.3%, 65%, 0%, 20.4%)
CIE-LABlab(40.74, 45.85, -64.08)
CIE-LCHlch(40.74, 78.80, 305.58°)
OKLaboklab(50.88% 0.0622 -0.1837)
OKLCHoklch(50.88% 0.194 288.7)
XYZxyz(18.6231, 11.7010, 57.7656)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747CB #ABCB47
analogous
#4769CB #6747CB #A947CB
triadic
#6747CB #CB6747 #47CB67
tetradic
#6747CB #CB4769 #ABCB47 #47CBA9
square
#6747CB #CB4769 #ABCB47 #47CBA9
split-complementary
#6747CB #CBA947 #69CB47
monochromatic
#362176 #4C2FA6 #6747CB #8E77D8 #B6A6E6

Accessibility & contrast

On white

6.29
#6747CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6747CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747CB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747CB#FFFFFF#000000##FFFFFF
##6747CB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#456783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6747cb;
/* rgb */ color: rgb(103, 71, 203);
/* oklch */ color: oklch(50.9% 0.194 288.7);
Tailwind
colors: {
  custom: {
    50: '#9b7cdc',
    500: '#6747cb',
    950: '#000000',
  },
}
SCSS
$custom: #6747cb;
$custom-light: #9b7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6747cb",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 254.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.19392,
    "h": 288.7
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#6747CB
secondary
#C5D39B
accent
#DF49BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6747CB

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

Preview Lab → · Contrast checker → · Palette generator →

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