#6848DD#6848DD

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

Color values

HEX#6848DD
RGBrgb(104, 72, 221)
HSLhsl(253, 69%, 57%)
HSVhsv(253, 67%, 87%)
CMYKcmyk(52.9%, 67.4%, 0%, 13.3%)
CIE-LABlab(42.46, 50.66, -71.62)
CIE-LCHlch(42.46, 87.73, 305.27°)
OKLaboklab(52.58% 0.0602 -0.2058)
OKLCHoklch(52.58% 0.214 286.3)
XYZxyz(21.0735, 12.7971, 69.7523)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848DD #BDDD48
analogous
#4872DD #6848DD #B348DD
triadic
#6848DD #DD6848 #48DD68
tetradic
#6848DD #DD4872 #BDDD48 #48DDB3
square
#6848DD #DD4872 #BDDD48 #48DDB3
split-complementary
#6848DD #DDB348 #72DD48
monochromatic
#341B90 #4724C3 #6848DD #937CE7 #BDAFF0

Accessibility & contrast

On white

5.90
#6848DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6848DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848DD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848DD#FFFFFF#000000##FFFFFF
##6848DD1.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)
#0068E2
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#386E8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6848dd;
/* rgb */ color: rgb(104, 72, 221);
/* oklch */ color: oklch(52.6% 0.214 286.3);
Tailwind
colors: {
  custom: {
    50: '#9d7de9',
    500: '#6848dd',
    950: '#000000',
  },
}
SCSS
$custom: #6848dd;
$custom-light: #9d7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6848dd",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 252.886,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52584,
    "c": 0.21441,
    "h": 286.3
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#6848DD
secondary
#D2DEA2
accent
#EC3CC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6848DD

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

Preview Lab → · Contrast checker → · Palette generator →

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