#6748DC#6748DC

#6748DC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.213 H 286.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6748DC
RGBrgb(103, 72, 220)
HSLhsl(253, 68%, 57%)
HSVhsv(253, 67%, 86%)
CMYKcmyk(53.2%, 67.3%, 0%, 13.7%)
CIE-LABlab(42.28, 50.21, -71.34)
CIE-LCHlch(42.28, 87.23, 305.14°)
OKLaboklab(52.41% 0.059 -0.205)
OKLCHoklch(52.41% 0.213 286.1)
XYZxyz(20.8253, 12.6845, 69.0473)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748DC #BDDC48
analogous
#4873DC #6748DC #B148DC
triadic
#6748DC #DC6748 #48DC67
tetradic
#6748DC #DC4873 #BDDC48 #48DCB1
square
#6748DC #DC4873 #BDDC48 #48DCB1
split-complementary
#6748DC #DCB148 #73DC48
monochromatic
#331B8E #4625C2 #6748DC #927BE6 #BCAFF0

Accessibility & contrast

On white

5.94
#6748DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6748DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748DC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748DC#FFFFFF#000000##FFFFFF
##6748DC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#366E8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6748dc;
/* rgb */ color: rgb(103, 72, 220);
/* oklch */ color: oklch(52.4% 0.213 286.1);
Tailwind
colors: {
  custom: {
    50: '#9d7de8',
    500: '#6748dc',
    950: '#000000',
  },
}
SCSS
$custom: #6748dc;
$custom-light: #9d7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6748dc",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 252.568,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.2133,
    "h": 286.1
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#6748DC
secondary
#D1DEA2
accent
#EB3DC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6748DC

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

Preview Lab → · Contrast checker → · Palette generator →

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