#6848DB#6848DB

#6848DB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.212 H 286.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6848DB
RGBrgb(104, 72, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 67%, 86%)
CMYKcmyk(52.5%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.29, 50.08, -70.75)
CIE-LCHlch(42.29, 86.68, 305.30°)
OKLaboklab(52.42% 0.0605 -0.2032)
OKLCHoklch(52.42% 0.212 286.6)
XYZxyz(20.8087, 12.6912, 68.3573)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848DB #BBDB48
analogous
#4872DB #6848DB #B148DB
triadic
#6848DB #DB6848 #48DB68
tetradic
#6848DB #DB4872 #BBDB48 #48DBB1
square
#6848DB #DB4872 #BBDB48 #48DBB1
split-complementary
#6848DB #DBB148 #72DB48
monochromatic
#341C8D #4726C0 #6848DB #927BE5 #BCAEEF

Accessibility & contrast

On white

5.93
#6848DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6848DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848DB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848DB#FFFFFF#000000##FFFFFF
##6848DB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#3A6D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6848db;
/* rgb */ color: rgb(104, 72, 219);
/* oklch */ color: oklch(52.4% 0.212 286.6);
Tailwind
colors: {
  custom: {
    50: '#9d7de7',
    500: '#6848db',
    950: '#000000',
  },
}
SCSS
$custom: #6848db;
$custom-light: #9d7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6848db",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 253.061,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.21202,
    "h": 286.6
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#6848DB
secondary
#D0DDA2
accent
#EA3EC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6848DB

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

Preview Lab → · Contrast checker → · Palette generator →

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