#6951D8#6951D8

#6951D8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.197 H 285.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6951D8
RGBrgb(105, 81, 216)
HSLhsl(251, 63%, 58%)
HSVhsv(251, 63%, 85%)
CMYKcmyk(51.4%, 62.5%, 0%, 15.3%)
CIE-LABlab(44.01, 44.37, -66.23)
CIE-LCHlch(44.01, 79.72, 303.82°)
OKLaboklab(53.61% 0.0537 -0.1899)
OKLCHoklch(53.61% 0.197 285.8)
XYZxyz(21.1591, 13.8449, 66.5098)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951D8 #C0D851
analogous
#517CD8 #6951D8 #AD51D8
triadic
#6951D8 #D86951 #51D869
tetradic
#6951D8 #D8517C #C0D851 #51D8AD
square
#6951D8 #D8517C #C0D851 #51D8AD
split-complementary
#6951D8 #D8AD51 #7CD851
monochromatic
#34208F #462BC1 #6951D8 #9483E3 #BFB5EE

Accessibility & contrast

On white

5.57
#6951D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6951D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951D8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951D8#FFFFFF#000000##FFFFFF
##6951D81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#3E728D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6951d8;
/* rgb */ color: rgb(105, 81, 216);
/* oklch */ color: oklch(53.6% 0.197 285.8);
Tailwind
colors: {
  custom: {
    50: '#9d83e5',
    500: '#6951d8',
    950: '#000000',
  },
}
SCSS
$custom: #6951d8;
$custom-light: #9d83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6951d8",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 250.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.19736,
    "h": 285.8
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#6951D8
secondary
#D4DDA8
accent
#E641C9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6951D8

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

Preview Lab → · Contrast checker → · Palette generator →

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