#6748CA#6748CA

#6748CA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.191 H 288.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6748CA
RGBrgb(103, 72, 202)
HSLhsl(254, 55%, 54%)
HSVhsv(254, 64%, 79%)
CMYKcmyk(49%, 64.4%, 0%, 20.8%)
CIE-LABlab(40.87, 45.01, -63.29)
CIE-LCHlch(40.87, 77.66, 305.42°)
OKLaboklab(50.95% 0.0613 -0.1813)
OKLCHoklch(50.95% 0.191 288.7)
XYZxyz(18.5685, 11.7818, 57.1614)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748CA #ABCA48
analogous
#486ACA #6748CA #A848CA
triadic
#6748CA #CA6748 #48CA67
tetradic
#6748CA #CA486A #ABCA48 #48CAA8
square
#6748CA #CA486A #ABCA48 #48CAA8
split-complementary
#6748CA #CAA848 #6ACA48
monochromatic
#362276 #4C30A5 #6748CA #8E77D8 #B6A7E5

Accessibility & contrast

On white

6.26
#6748CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6748CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748CA#FFFFFF#000000##FFFFFF
##6748CA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#456782
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6748ca;
/* rgb */ color: rgb(103, 72, 202);
/* oklch */ color: oklch(51.0% 0.191 288.7);
Tailwind
colors: {
  custom: {
    50: '#9a7ddb',
    500: '#6748ca',
    950: '#000000',
  },
}
SCSS
$custom: #6748ca;
$custom-light: #9a7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6748ca",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 254.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.19143,
    "h": 288.7
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#6748CA
secondary
#C5D39B
accent
#DE49BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6748CA

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

Preview Lab → · Contrast checker → · Palette generator →

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