#6748DB#6748DB

#6748DB is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.212 H 286.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6748DB
RGBrgb(103, 72, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 67%, 86%)
CMYKcmyk(53%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.20, 49.92, -70.90)
CIE-LCHlch(42.20, 86.71, 305.15°)
OKLaboklab(52.33% 0.0592 -0.2037)
OKLCHoklch(52.33% 0.212 286.2)
XYZxyz(20.6932, 12.6317, 68.3519)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748DB #BCDB48
analogous
#4873DB #6748DB #B148DB
triadic
#6748DB #DB6748 #48DB67
tetradic
#6748DB #DB4873 #BCDB48 #48DBB1
square
#6748DB #DB4873 #BCDB48 #48DBB1
split-complementary
#6748DB #DBB148 #73DB48
monochromatic
#341C8D #4626C0 #6748DB #917BE5 #BCAEEF

Accessibility & contrast

On white

5.95
#6748DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6748DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748DB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748DB#FFFFFF#000000##FFFFFF
##6748DB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#376D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6748db;
/* rgb */ color: rgb(103, 72, 219);
/* oklch */ color: oklch(52.3% 0.212 286.2);
Tailwind
colors: {
  custom: {
    50: '#9d7de7',
    500: '#6748db',
    950: '#000000',
  },
}
SCSS
$custom: #6748db;
$custom-light: #9d7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6748db",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 252.653,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.2121,
    "h": 286.2
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#6748DB
secondary
#D1DDA2
accent
#EA3EC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6748DB

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

Preview Lab → · Contrast checker → · Palette generator →

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