#6849E5#6849E5

#6849E5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.223 H 285.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6849E5
RGBrgb(104, 73, 229)
HSLhsl(252, 75%, 59%)
HSVhsv(252, 68%, 90%)
CMYKcmyk(54.6%, 68.1%, 0%, 10.2%)
CIE-LABlab(43.31, 52.43, -74.79)
CIE-LCHlch(43.31, 91.33, 305.03°)
OKLaboklab(53.4% 0.0581 -0.2151)
OKLCHoklch(53.4% 0.223 285.1)
XYZxyz(22.2300, 13.3640, 75.5217)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849E5 #C6E549
analogous
#4978E5 #6849E5 #B649E5
triadic
#6849E5 #E56849 #49E568
tetradic
#6849E5 #E54978 #C6E549 #49E5B6
square
#6849E5 #E54978 #C6E549 #49E5B6
split-complementary
#6849E5 #E5B649 #78E549
monochromatic
#31169D #421ED3 #6849E5 #947FED #C1B4F4

Accessibility & contrast

On white

5.72
#6849E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6849E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849E5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849E5#FFFFFF#000000##FFFFFF
##6849E51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6849e5;
/* rgb */ color: rgb(104, 73, 229);
/* oklch */ color: oklch(53.4% 0.223 285.1);
Tailwind
colors: {
  custom: {
    50: '#9f7eee',
    500: '#6849e5',
    950: '#000000',
  },
}
SCSS
$custom: #6849e5;
$custom-light: #9f7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6849e5",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 251.923,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.22277,
    "h": 285.1
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6849E5

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

Preview Lab → · Contrast checker → · Palette generator →

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