#6748DE#6748DE

#6748DE is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.216 H 285.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6748DE
RGBrgb(103, 72, 222)
HSLhsl(252, 69%, 58%)
HSVhsv(252, 68%, 87%)
CMYKcmyk(53.6%, 67.6%, 0%, 12.9%)
CIE-LABlab(42.45, 50.78, -72.21)
CIE-LCHlch(42.45, 88.28, 305.12°)
OKLaboklab(52.58% 0.0587 -0.2075)
OKLCHoklch(52.58% 0.216 285.8)
XYZxyz(21.0917, 12.7911, 70.4506)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6748DE #BFDE48
analogous
#4874DE #6748DE #B248DE
triadic
#6748DE #DE6748 #48DE67
tetradic
#6748DE #DE4874 #BFDE48 #48DEB2
square
#6748DE #DE4874 #BFDE48 #48DEB2
split-complementary
#6748DE #DEB248 #74DE48
monochromatic
#331A91 #4524C5 #6748DE #927CE7 #BDB0F1

Accessibility & contrast

On white

5.90
#6748DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6748DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6748DE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6748DE#FFFFFF#000000##FFFFFF
##6748DE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#346F8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6748de;
/* rgb */ color: rgb(103, 72, 222);
/* oklch */ color: oklch(52.6% 0.216 285.8);
Tailwind
colors: {
  custom: {
    50: '#9d7de9',
    500: '#6748de',
    950: '#000000',
  },
}
SCSS
$custom: #6748de;
$custom-light: #9d7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6748de",
  "rgb": {
    "r": 103,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 252.4,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.21569,
    "h": 285.8
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#6748DE
secondary
#D3DFA3
accent
#EC3CC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6748DE

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

Preview Lab → · Contrast checker → · Palette generator →

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