#6951DF#6951DF

#6951DF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.2% C 0.206 H 284.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6951DF
RGBrgb(105, 81, 223)
HSLhsl(250, 69%, 60%)
HSVhsv(250, 64%, 87%)
CMYKcmyk(52.9%, 63.7%, 0%, 12.5%)
CIE-LABlab(44.54, 46.44, -69.36)
CIE-LCHlch(44.54, 83.47, 303.80°)
OKLaboklab(54.16% 0.0531 -0.1991)
OKLCHoklch(54.16% 0.206 284.9)
XYZxyz(22.0834, 14.2146, 71.3778)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951DF #C7DF51
analogous
#5180DF #6951DF #B051DF
triadic
#6951DF #DF6951 #51DF69
tetradic
#6951DF #DF5180 #C7DF51 #51DFB0
square
#6951DF #DF5180 #C7DF51 #51DFB0
split-complementary
#6951DF #DFB051 #80DF51
monochromatic
#311C99 #4226CD #6951DF #9685E9 #C2B8F2

Accessibility & contrast

On white

5.46
#6951DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6951DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951DF#FFFFFF#000000##FFFFFF
##6951DF1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#387491
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6951df;
/* rgb */ color: rgb(105, 81, 223);
/* oklch */ color: oklch(54.2% 0.206 284.9);
Tailwind
colors: {
  custom: {
    50: '#9e83ea',
    500: '#6951df',
    950: '#000000',
  },
}
SCSS
$custom: #6951df;
$custom-light: #9e83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6951df",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 250.141,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.20606,
    "h": 284.9
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#6951DF
secondary
#D8E1AA
accent
#EC3CCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6951DF

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

Preview Lab → · Contrast checker → · Palette generator →

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