#6848DE#6848DE

#6848DE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.216 H 286.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6848DE
RGBrgb(104, 72, 222)
HSLhsl(253, 69%, 58%)
HSVhsv(253, 68%, 87%)
CMYKcmyk(53.2%, 67.6%, 0%, 12.9%)
CIE-LABlab(42.54, 50.95, -72.06)
CIE-LCHlch(42.54, 88.25, 305.26°)
OKLaboklab(52.67% 0.0601 -0.2071)
OKLCHoklch(52.67% 0.216 286.2)
XYZxyz(21.2072, 12.8506, 70.4560)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848DE #BEDE48
analogous
#4873DE #6848DE #B348DE
triadic
#6848DE #DE6848 #48DE68
tetradic
#6848DE #DE4873 #BEDE48 #48DEB3
square
#6848DE #DE4873 #BEDE48 #48DEB3
split-complementary
#6848DE #DEB348 #73DE48
monochromatic
#341A91 #4624C5 #6848DE #937CE7 #BEB0F1

Accessibility & contrast

On white

5.88
#6848DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6848DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848DE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848DE#FFFFFF#000000##FFFFFF
##6848DE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6848de;
/* rgb */ color: rgb(104, 72, 222);
/* oklch */ color: oklch(52.7% 0.216 286.2);
Tailwind
colors: {
  custom: {
    50: '#9e7de9',
    500: '#6848de',
    950: '#000000',
  },
}
SCSS
$custom: #6848de;
$custom-light: #9e7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6848de",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 252.8,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.21561,
    "h": 286.2
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#6848DE
secondary
#D2DFA3
accent
#EC3CC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6848DE

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

Preview Lab → · Contrast checker → · Palette generator →

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