#6848E5#6848E5

#6848E5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.224 H 285.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6848E5
RGBrgb(104, 72, 229)
HSLhsl(252, 75%, 59%)
HSVhsv(252, 69%, 90%)
CMYKcmyk(54.6%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.11, 52.96, -75.10)
CIE-LCHlch(43.11, 91.90, 305.19°)
OKLaboklab(53.26% 0.0589 -0.216)
OKLCHoklch(53.26% 0.224 285.3)
XYZxyz(22.1649, 13.2337, 75.5000)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848E5 #C5E548
analogous
#4877E5 #6848E5 #B748E5
triadic
#6848E5 #E56848 #48E568
tetradic
#6848E5 #E54877 #C5E548 #48E5B7
square
#6848E5 #E54877 #C5E548 #48E5B7
split-complementary
#6848E5 #E5B748 #77E548
monochromatic
#32169C #431ED2 #6848E5 #947EED #C0B3F4

Accessibility & contrast

On white

5.76
#6848E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6848E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848E5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848E5#FFFFFF#000000##FFFFFF
##6848E51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#2F7191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6848e5;
/* rgb */ color: rgb(104, 72, 229);
/* oklch */ color: oklch(53.3% 0.224 285.3);
Tailwind
colors: {
  custom: {
    50: '#9f7eee',
    500: '#6848e5',
    950: '#000000',
  },
}
SCSS
$custom: #6848e5;
$custom-light: #9f7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6848e5",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 252.229,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53258,
    "c": 0.22389,
    "h": 285.3
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#6848E5
secondary
#D7E3A6
accent
#F236CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6848E5

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

Preview Lab → · Contrast checker → · Palette generator →

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