#6848EA#6848EA

#6848EA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.230 H 284.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6848EA
RGBrgb(104, 72, 234)
HSLhsl(252, 79%, 60%)
HSVhsv(252, 69%, 92%)
CMYKcmyk(55.6%, 69.2%, 0%, 8.2%)
CIE-LABlab(43.53, 54.40, -77.25)
CIE-LCHlch(43.53, 94.48, 305.15°)
OKLaboklab(53.69% 0.0581 -0.2223)
OKLCHoklch(53.69% 0.23 284.6)
XYZxyz(22.8731, 13.5169, 79.2297)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848EA #CAEA48
analogous
#4879EA #6848EA #B948EA
triadic
#6848EA #EA6848 #48EA68
tetradic
#6848EA #EA4879 #CAEA48 #48EAB9
square
#6848EA #EA4879 #CAEA48 #48EAB9
split-complementary
#6848EA #EAB948 #79EA48
monochromatic
#3013A5 #4019DC #6848EA #957FF0 #C3B6F7

Accessibility & contrast

On white

5.67
#6848EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6848EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848EA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848EA#FFFFFF#000000##FFFFFF
##6848EA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#297394
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6848ea;
/* rgb */ color: rgb(104, 72, 234);
/* oklch */ color: oklch(53.7% 0.230 284.6);
Tailwind
colors: {
  custom: {
    50: '#9f7ef2',
    500: '#6848ea',
    950: '#000000',
  },
}
SCSS
$custom: #6848ea;
$custom-light: #9f7ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6848ea",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 234
  },
  "hsl": {
    "h": 251.852,
    "s": 79.412,
    "l": 60
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.22974,
    "h": 284.6
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#6848EA
secondary
#DAE6A8
accent
#F632CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6848EA

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

Preview Lab → · Contrast checker → · Palette generator →

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