#6848EB#6848EB

#6848EB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.231 H 284.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6848EB
RGBrgb(104, 72, 235)
HSLhsl(252, 80%, 60%)
HSVhsv(252, 69%, 92%)
CMYKcmyk(55.7%, 69.4%, 0%, 7.8%)
CIE-LABlab(43.62, 54.69, -77.67)
CIE-LCHlch(43.62, 95.00, 305.15°)
OKLaboklab(53.77% 0.0579 -0.2235)
OKLCHoklch(53.77% 0.231 284.5)
XYZxyz(23.0171, 13.5746, 79.9884)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848EB #CBEB48
analogous
#4879EB #6848EB #B948EB
triadic
#6848EB #EB6848 #48EB68
tetradic
#6848EB #EB4879 #CBEB48 #48EBB9
square
#6848EB #EB4879 #CBEB48 #48EBB9
split-complementary
#6848EB #EBB948 #79EB48
monochromatic
#2F12A6 #3F18DE #6848EB #967FF1 #C3B6F7

Accessibility & contrast

On white

5.65
#6848EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6848EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848EB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848EB#FFFFFF#000000##FFFFFF
##6848EB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#277394
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6848eb;
/* rgb */ color: rgb(104, 72, 235);
/* oklch */ color: oklch(53.8% 0.231 284.5);
Tailwind
colors: {
  custom: {
    50: '#a07ef3',
    500: '#6848eb',
    950: '#000000',
  },
}
SCSS
$custom: #6848eb;
$custom-light: #a07ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6848eb",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 251.779,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.23091,
    "h": 284.5
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#6848EB
secondary
#DAE7A8
accent
#DD09B3
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6848EB

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

Preview Lab → · Contrast checker → · Palette generator →

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