#6849DB#6849DB

#6849DB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.211 H 286.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6849DB
RGBrgb(104, 73, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 67%, 86%)
CMYKcmyk(52.5%, 66.7%, 0%, 14.1%)
CIE-LABlab(42.49, 49.54, -70.42)
CIE-LCHlch(42.49, 86.10, 305.13°)
OKLaboklab(52.56% 0.0596 -0.2023)
OKLCHoklch(52.56% 0.211 286.4)
XYZxyz(20.8738, 12.8215, 68.3790)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6849DB #BCDB49
analogous
#4973DB #6849DB #B149DB
triadic
#6849DB #DB6849 #49DB68
tetradic
#6849DB #DB4973 #BCDB49 #49DBB1
square
#6849DB #DB4973 #BCDB49 #49DBB1
split-complementary
#6849DB #DBB149 #73DB49
monochromatic
#341C8E #4726C1 #6849DB #927CE5 #BDAFEF

Accessibility & contrast

On white

5.89
#6849DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6849DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6849DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6849DB#FFFFFF#000000##FFFFFF
##6849DB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#3A6E8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6849db;
/* rgb */ color: rgb(104, 73, 219);
/* oklch */ color: oklch(52.6% 0.211 286.4);
Tailwind
colors: {
  custom: {
    50: '#9d7ee7',
    500: '#6849db',
    950: '#000000',
  },
}
SCSS
$custom: #6849db;
$custom-light: #9d7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6849db",
  "rgb": {
    "r": 104,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 252.74,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.21085,
    "h": 286.4
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#6849DB
secondary
#D1DDA2
accent
#EA3EC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6849DB

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

Preview Lab → · Contrast checker → · Palette generator →

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