#6748D0#6748D0

#6748D0 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.199 H 287.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6748D0
RGBrgb(103, 72, 208)
HSLhsl(254, 59%, 55%)
HSVhsv(254, 65%, 82%)
CMYKcmyk(50.5%, 65.4%, 0%, 18.4%)
CIE-LABlab(41.33, 46.74, -66.01)
CIE-LCHlch(41.33, 80.88, 305.30°)
OKLaboklab(51.43% 0.0607 -0.1893)
OKLCHoklch(51.43% 0.199 287.8)
XYZxyz(19.2927, 12.0715, 60.9757)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748D0 #B1D048
analogous
#486DD0 #6748D0 #AB48D0
triadic
#6748D0 #D06748 #48D067
tetradic
#6748D0 #D0486D #B1D048 #48D0AB
square
#6748D0 #D0486D #B1D048 #48D0AB
split-complementary
#6748D0 #D0AB48 #6DD048
monochromatic
#35207D #4A2DAE #6748D0 #8F79DD #B8A9E9

Accessibility & contrast

On white

6.15
#6748D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6748D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748D0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748D0#FFFFFF#000000##FFFFFF
##6748D01.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#416A86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6748d0;
/* rgb */ color: rgb(103, 72, 208);
/* oklch */ color: oklch(51.4% 0.199 287.8);
Tailwind
colors: {
  custom: {
    50: '#9b7ddf',
    500: '#6748d0',
    950: '#000000',
  },
}
SCSS
$custom: #6748d0;
$custom-light: #9b7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6748d0",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 253.676,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.1988,
    "h": 287.8
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#6748D0
secondary
#C9D79D
accent
#E245BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6748D0

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

Preview Lab → · Contrast checker → · Palette generator →

#6748D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva