#6848D3#6848D3

#6848D3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.8% C 0.202 H 287.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6848D3
RGBrgb(104, 72, 211)
HSLhsl(254, 61%, 55%)
HSVhsv(254, 66%, 83%)
CMYKcmyk(50.7%, 65.9%, 0%, 17.3%)
CIE-LABlab(41.66, 47.78, -67.20)
CIE-LCHlch(41.66, 82.45, 305.41°)
OKLaboklab(51.76% 0.0616 -0.1928)
OKLCHoklch(51.76% 0.202 287.7)
XYZxyz(19.7807, 12.2800, 62.9434)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848D3 #B3D348
analogous
#486DD3 #6848D3 #AD48D3
triadic
#6848D3 #D36848 #48D368
tetradic
#6848D3 #D3486D #B3D348 #48D3AD
square
#6848D3 #D3486D #B3D348 #48D3AD
split-complementary
#6848D3 #D3AD48 #6DD348
monochromatic
#361F81 #4A2BB3 #6848D3 #9179DF #B9ABEB

Accessibility & contrast

On white

6.08
#6848D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6848D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848D3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848D3#FFFFFF#000000##FFFFFF
##6848D31.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#416B87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6848d3;
/* rgb */ color: rgb(104, 72, 211);
/* oklch */ color: oklch(51.8% 0.202 287.7);
Tailwind
colors: {
  custom: {
    50: '#9c7de1',
    500: '#6848d3',
    950: '#000000',
  },
}
SCSS
$custom: #6848d3;
$custom-light: #9c7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6848d3",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 253.813,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51762,
    "c": 0.20239,
    "h": 287.7
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#6848D3
secondary
#CBD89E
accent
#E443BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6848D3

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

Preview Lab → · Contrast checker → · Palette generator →

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