#6949DB#6949DB

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

Color values

HEX#6949DB
RGBrgb(105, 73, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 67%, 86%)
CMYKcmyk(52.1%, 66.7%, 0%, 14.1%)
CIE-LABlab(42.58, 49.71, -70.27)
CIE-LCHlch(42.58, 86.07, 305.27°)
OKLaboklab(52.65% 0.061 -0.2018)
OKLCHoklch(52.65% 0.211 286.8)
XYZxyz(20.9906, 12.8818, 68.3845)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6949DB #BBDB49
analogous
#4972DB #6949DB #B249DB
triadic
#6949DB #DB6949 #49DB69
tetradic
#6949DB #DB4972 #BBDB49 #49DBB2
square
#6949DB #DB4972 #BBDB49 #49DBB2
split-complementary
#6949DB #DBB249 #72DB49
monochromatic
#351C8E #4826C1 #6949DB #937CE5 #BDAFEF

Accessibility & contrast

On white

5.87
#6949DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6949DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6949DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6949DB#FFFFFF#000000##FFFFFF
##6949DB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6949db;
/* rgb */ color: rgb(105, 73, 219);
/* oklch */ color: oklch(52.6% 0.211 286.8);
Tailwind
colors: {
  custom: {
    50: '#9e7ee7',
    500: '#6949db',
    950: '#000000',
  },
}
SCSS
$custom: #6949db;
$custom-light: #9e7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6949db",
  "rgb": {
    "r": 105,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 253.151,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.21078,
    "h": 286.8
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6949DB

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

Preview Lab → · Contrast checker → · Palette generator →

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