#6848CA#6848CA

#6848CA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.191 H 289.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6848CA
RGBrgb(104, 72, 202)
HSLhsl(255, 55%, 54%)
HSVhsv(255, 64%, 79%)
CMYKcmyk(48.5%, 64.4%, 0%, 20.8%)
CIE-LABlab(40.96, 45.19, -63.13)
CIE-LCHlch(40.96, 77.64, 305.60°)
OKLaboklab(51.04% 0.0627 -0.1808)
OKLCHoklch(51.04% 0.191 289.1)
XYZxyz(18.6839, 11.8413, 57.1668)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848CA #AACA48
analogous
#4869CA #6848CA #A948CA
triadic
#6848CA #CA6848 #48CA68
tetradic
#6848CA #CA4869 #AACA48 #48CAA9
square
#6848CA #CA4869 #AACA48 #48CAA9
split-complementary
#6848CA #CAA948 #69CA48
monochromatic
#372276 #4D30A5 #6848CA #8F77D8 #B6A7E5

Accessibility & contrast

On white

6.23
#6848CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6848CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848CA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848CA#FFFFFF#000000##FFFFFF
##6848CA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#476782
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6848ca;
/* rgb */ color: rgb(104, 72, 202);
/* oklch */ color: oklch(51.0% 0.191 289.1);
Tailwind
colors: {
  custom: {
    50: '#9b7ddb',
    500: '#6848ca',
    950: '#000000',
  },
}
SCSS
$custom: #6848ca;
$custom-light: #9b7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6848ca",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 254.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.19139,
    "h": 289.1
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#6848CA
secondary
#C5D39B
accent
#DE49BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6848CA

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

Preview Lab → · Contrast checker → · Palette generator →

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