#6748DA#6748DA

#6748DA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.2% C 0.211 H 286.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6748DA
RGBrgb(103, 72, 218)
HSLhsl(253, 66%, 57%)
HSVhsv(253, 67%, 85%)
CMYKcmyk(52.8%, 67%, 0%, 14.5%)
CIE-LABlab(42.12, 49.63, -70.46)
CIE-LCHlch(42.12, 86.18, 305.16°)
OKLaboklab(52.25% 0.0593 -0.2024)
OKLCHoklch(52.25% 0.211 286.3)
XYZxyz(20.5620, 12.5792, 67.6606)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748DA #BBDA48
analogous
#4872DA #6748DA #B048DA
triadic
#6748DA #DA6748 #48DA67
tetradic
#6748DA #DA4872 #BBDA48 #48DAB0
square
#6748DA #DA4872 #BBDA48 #48DAB0
split-complementary
#6748DA #DAB048 #72DA48
monochromatic
#341C8B #4726BE #6748DA #917BE4 #BCAEEF

Accessibility & contrast

On white

5.97
#6748DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6748DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748DA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748DA#FFFFFF#000000##FFFFFF
##6748DA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#386D8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6748da;
/* rgb */ color: rgb(103, 72, 218);
/* oklch */ color: oklch(52.2% 0.211 286.3);
Tailwind
colors: {
  custom: {
    50: '#9d7de7',
    500: '#6748da',
    950: '#000000',
  },
}
SCSS
$custom: #6748da;
$custom-light: #9d7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6748da",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 252.74,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.2109,
    "h": 286.3
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#6748DA
secondary
#D0DDA1
accent
#E93FC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6748DA

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

Preview Lab → · Contrast checker → · Palette generator →

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