#6848E4#6848E4

#6848E4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.223 H 285.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6848E4
RGBrgb(104, 72, 228)
HSLhsl(252, 74%, 59%)
HSVhsv(252, 68%, 89%)
CMYKcmyk(54.4%, 68.4%, 0%, 10.6%)
CIE-LABlab(43.03, 52.67, -74.67)
CIE-LCHlch(43.03, 91.38, 305.20°)
OKLaboklab(53.17% 0.0591 -0.2147)
OKLCHoklch(53.17% 0.223 285.4)
XYZxyz(22.0257, 13.1780, 74.7667)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848E4 #C4E448
analogous
#4876E4 #6848E4 #B648E4
triadic
#6848E4 #E46848 #48E468
tetradic
#6848E4 #E44876 #C4E448 #48E4B6
square
#6848E4 #E44876 #C4E448 #48E4B6
split-complementary
#6848E4 #E4B648 #76E448
monochromatic
#32179B #431FD0 #6848E4 #947DEC #C0B3F4

Accessibility & contrast

On white

5.78
#6848E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6848E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848E4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848E4#FFFFFF#000000##FFFFFF
##6848E41.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#307191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6848e4;
/* rgb */ color: rgb(104, 72, 228);
/* oklch */ color: oklch(53.2% 0.223 285.4);
Tailwind
colors: {
  custom: {
    50: '#9e7dee',
    500: '#6848e4',
    950: '#000000',
  },
}
SCSS
$custom: #6848e4;
$custom-light: #9e7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6848e4",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 252.308,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.22271,
    "h": 285.4
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#6848E4
secondary
#D6E3A5
accent
#F137CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6848E4

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

Preview Lab → · Contrast checker → · Palette generator →

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