#6848C8#6848C8

#6848C8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.189 H 289.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6848C8
RGBrgb(104, 72, 200)
HSLhsl(255, 54%, 53%)
HSVhsv(255, 64%, 78%)
CMYKcmyk(48%, 64%, 0%, 21.6%)
CIE-LABlab(40.81, 44.62, -62.22)
CIE-LCHlch(40.81, 76.57, 305.65°)
OKLaboklab(50.89% 0.0629 -0.1782)
OKLCHoklch(50.89% 0.189 289.4)
XYZxyz(18.4486, 11.7472, 55.9278)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848C8 #A8C848
analogous
#4868C8 #6848C8 #A848C8
triadic
#6848C8 #C86848 #48C868
tetradic
#6848C8 #C84868 #A8C848 #48C8A8
square
#6848C8 #C84868 #A8C848 #48C8A8
split-complementary
#6848C8 #C8A848 #68C848
monochromatic
#372373 #4D31A2 #6848C8 #8F77D6 #B6A6E4

Accessibility & contrast

On white

6.27
#6848C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6848C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848C8#FFFFFF#000000##FFFFFF
##6848C81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#486781
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6848c8;
/* rgb */ color: rgb(104, 72, 200);
/* oklch */ color: oklch(50.9% 0.189 289.4);
Tailwind
colors: {
  custom: {
    50: '#9b7dda',
    500: '#6848c8',
    950: '#000000',
  },
}
SCSS
$custom: #6848c8;
$custom-light: #9b7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6848c8",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 255,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50886,
    "c": 0.18893,
    "h": 289.4
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#6848C8
secondary
#C4D19A
accent
#DD4BB9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6848C8

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

Preview Lab → · Contrast checker → · Palette generator →

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