#6748D2#6748D2

#6748D2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.6% C 0.201 H 287.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6748D2
RGBrgb(103, 72, 210)
HSLhsl(253, 61%, 55%)
HSVhsv(253, 66%, 82%)
CMYKcmyk(51%, 65.7%, 0%, 17.6%)
CIE-LABlab(41.49, 47.32, -66.91)
CIE-LCHlch(41.49, 81.95, 305.27°)
OKLaboklab(51.59% 0.0604 -0.192)
OKLCHoklch(51.59% 0.201 287.5)
XYZxyz(19.5403, 12.1705, 62.2798)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748D2 #B3D248
analogous
#486ED2 #6748D2 #AC48D2
triadic
#6748D2 #D26748 #48D267
tetradic
#6748D2 #D2486E #B3D248 #48D2AC
square
#6748D2 #D2486E #B3D248 #48D2AC
split-complementary
#6748D2 #D2AC48 #6ED248
monochromatic
#352080 #4A2CB1 #6748D2 #9079DE #B9AAEA

Accessibility & contrast

On white

6.11
#6748D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6748D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748D2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748D2#FFFFFF#000000##FFFFFF
##6748D21.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#3F6A87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6748d2;
/* rgb */ color: rgb(103, 72, 210);
/* oklch */ color: oklch(51.6% 0.201 287.5);
Tailwind
colors: {
  custom: {
    50: '#9b7de1',
    500: '#6748d2',
    950: '#000000',
  },
}
SCSS
$custom: #6748d2;
$custom-light: #9b7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6748d2",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 253.478,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.20124,
    "h": 287.5
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#6748D2
secondary
#CBD89E
accent
#E444C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6748D2

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

Preview Lab → · Contrast checker → · Palette generator →

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