#6748D8#6748D8

#6748D8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.1% C 0.208 H 286.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6748D8
RGBrgb(103, 72, 216)
HSLhsl(253, 65%, 56%)
HSVhsv(253, 67%, 85%)
CMYKcmyk(52.3%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.96, 49.05, -69.58)
CIE-LCHlch(41.96, 85.13, 305.18°)
OKLaboklab(52.08% 0.0596 -0.1998)
OKLCHoklch(52.08% 0.209 286.6)
XYZxyz(20.3019, 12.4751, 66.2906)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748D8 #B9D848
analogous
#4871D8 #6748D8 #AF48D8
triadic
#6748D8 #D86748 #48D867
tetradic
#6748D8 #D84871 #B9D848 #48D8AF
square
#6748D8 #D84871 #B9D848 #48D8AF
split-complementary
#6748D8 #D8AF48 #71D848
monochromatic
#341D89 #4828BB #6748D8 #917AE3 #BBADEE

Accessibility & contrast

On white

6.01
#6748D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6748D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748D8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748D8#FFFFFF#000000##FFFFFF
##6748D81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#3A6C8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6748d8;
/* rgb */ color: rgb(103, 72, 216);
/* oklch */ color: oklch(52.1% 0.208 286.6);
Tailwind
colors: {
  custom: {
    50: '#9c7de5',
    500: '#6748d8',
    950: '#000000',
  },
}
SCSS
$custom: #6748d8;
$custom-light: #9c7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6748d8",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 252.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.2085,
    "h": 286.6
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#6748D8
secondary
#CFDBA0
accent
#E840C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6748D8

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

Preview Lab → · Contrast checker → · Palette generator →

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