#6849D8#6849D8

#6849D8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.3% C 0.207 H 286.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6849D8
RGBrgb(104, 73, 216)
HSLhsl(253, 65%, 57%)
HSVhsv(253, 66%, 85%)
CMYKcmyk(51.9%, 66.2%, 0%, 15.3%)
CIE-LABlab(42.25, 48.67, -69.09)
CIE-LCHlch(42.25, 84.52, 305.16°)
OKLaboklab(52.32% 0.06 -0.1984)
OKLCHoklch(52.32% 0.207 286.8)
XYZxyz(20.4825, 12.6650, 66.3178)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849D8 #B9D849
analogous
#4972D8 #6849D8 #B049D8
triadic
#6849D8 #D86849 #49D868
tetradic
#6849D8 #D84972 #B9D849 #49D8B0
square
#6849D8 #D84972 #B9D849 #49D8B0
split-complementary
#6849D8 #D8B049 #72D849
monochromatic
#351D89 #4828BC #6849D8 #927BE3 #BCAEEE

Accessibility & contrast

On white

5.94
#6849D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6849D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849D8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849D8#FFFFFF#000000##FFFFFF
##6849D81.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#3D6D8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6849d8;
/* rgb */ color: rgb(104, 73, 216);
/* oklch */ color: oklch(52.3% 0.207 286.8);
Tailwind
colors: {
  custom: {
    50: '#9d7ee5',
    500: '#6849d8',
    950: '#000000',
  },
}
SCSS
$custom: #6849d8;
$custom-light: #9d7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#6849d8",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 253.007,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.20724,
    "h": 286.8
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#6849D8
secondary
#CFDCA1
accent
#E840C3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6849D8

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

Preview Lab → · Contrast checker → · Palette generator →

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