#6747DB#6747DB

#6747DB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.213 H 286.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6747DB
RGBrgb(103, 71, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.01, 50.46, -71.22)
CIE-LCHlch(42.01, 87.28, 305.32°)
OKLaboklab(52.19% 0.0601 -0.2046)
OKLCHoklch(52.19% 0.213 286.4)
XYZxyz(20.6291, 12.5034, 68.3305)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747DB #BBDB47
analogous
#4771DB #6747DB #B147DB
triadic
#6747DB #DB6747 #47DB67
tetradic
#6747DB #DB4771 #BBDB47 #47DBB1
square
#6747DB #DB4771 #BBDB47 #47DBB1
split-complementary
#6747DB #DBB147 #71DB47
monochromatic
#341B8C #4725BF #6747DB #917AE5 #BCADEF

Accessibility & contrast

On white

6.00
#6747DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6747DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747DB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747DB#FFFFFF#000000##FFFFFF
##6747DB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#376D8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6747db;
/* rgb */ color: rgb(103, 71, 219);
/* oklch */ color: oklch(52.2% 0.213 286.4);
Tailwind
colors: {
  custom: {
    50: '#9d7de7',
    500: '#6747db',
    950: '#000000',
  },
}
SCSS
$custom: #6747db;
$custom-light: #9d7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6747db",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 252.973,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.21326,
    "h": 286.4
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#6747DB
secondary
#D0DDA1
accent
#EA3EC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6747DB

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

Preview Lab → · Contrast checker → · Palette generator →

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