#6748CD#6748CD

#6748CD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.195 H 288.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6748CD
RGBrgb(103, 72, 205)
HSLhsl(254, 57%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(49.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(41.10, 45.87, -64.66)
CIE-LCHlch(41.10, 79.28, 305.35°)
OKLaboklab(51.19% 0.061 -0.1853)
OKLCHoklch(51.19% 0.195 288.2)
XYZxyz(18.9271, 11.9252, 59.0503)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748CD #AECD48
analogous
#486CCD #6748CD #AA48CD
triadic
#6748CD #CD6748 #48CD67
tetradic
#6748CD #CD486C #AECD48 #48CDAA
square
#6748CD #CD486C #AECD48 #48CDAA
split-complementary
#6748CD #CDAA48 #6CCD48
monochromatic
#362179 #4B2EA9 #6748CD #8F78DA #B7A8E7

Accessibility & contrast

On white

6.20
#6748CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6748CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748CD#FFFFFF#000000##FFFFFF
##6748CD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#436884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6748cd;
/* rgb */ color: rgb(103, 72, 205);
/* oklch */ color: oklch(51.2% 0.195 288.2);
Tailwind
colors: {
  custom: {
    50: '#9b7ddd',
    500: '#6748cd',
    950: '#000000',
  },
}
SCSS
$custom: #6748cd;
$custom-light: #9b7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6748cd",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 253.985,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.19513,
    "h": 288.2
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#6748CD
secondary
#C7D59C
accent
#E047BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6748CD

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

Preview Lab → · Contrast checker → · Palette generator →

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