#6951DC#6951DC

#6951DC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 53.9% C 0.202 H 285.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6951DC
RGBrgb(105, 81, 220)
HSLhsl(250, 67%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(52.3%, 63.2%, 0%, 13.7%)
CIE-LABlab(44.31, 45.55, -68.03)
CIE-LCHlch(44.31, 81.87, 303.81°)
OKLaboklab(53.92% 0.0534 -0.1952)
OKLCHoklch(53.92% 0.202 285.3)
XYZxyz(21.6825, 14.0543, 69.2665)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951DC #C4DC51
analogous
#517FDC #6951DC #AF51DC
triadic
#6951DC #DC6951 #51DC69
tetradic
#6951DC #DC517F #C4DC51 #51DCAF
square
#6951DC #DC517F #C4DC51 #51DCAF
split-complementary
#6951DC #DCAF51 #7FDC51
monochromatic
#321E95 #4428C8 #6951DC #9584E6 #C1B7F0

Accessibility & contrast

On white

5.51
#6951DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6951DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951DC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951DC#FFFFFF#000000##FFFFFF
##6951DC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#3B738F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6951dc;
/* rgb */ color: rgb(105, 81, 220);
/* oklch */ color: oklch(53.9% 0.202 285.3);
Tailwind
colors: {
  custom: {
    50: '#9d83e8',
    500: '#6951dc',
    950: '#000000',
  },
}
SCSS
$custom: #6951dc;
$custom-light: #9d83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6951dc",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 250.36,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.20234,
    "h": 285.3
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#6951DC
secondary
#D6E0A9
accent
#E93ECC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6951DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6951DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva