#6950D8#6950D8

#6950D8 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.199 H 286.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6950D8
RGBrgb(105, 80, 216)
HSLhsl(251, 64%, 58%)
HSVhsv(251, 63%, 85%)
CMYKcmyk(51.4%, 63%, 0%, 15.3%)
CIE-LABlab(43.80, 44.94, -66.58)
CIE-LCHlch(43.80, 80.33, 304.02°)
OKLaboklab(53.45% 0.0547 -0.1909)
OKLCHoklch(53.45% 0.199 286)
XYZxyz(21.0853, 13.6974, 66.4853)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950D8 #BFD850
analogous
#507BD8 #6950D8 #AD50D8
triadic
#6950D8 #D86950 #50D869
tetradic
#6950D8 #D8507B #BFD850 #50D8AD
square
#6950D8 #D8507B #BFD850 #50D8AD
split-complementary
#6950D8 #D8AD50 #7BD850
monochromatic
#34208E #462BC0 #6950D8 #9482E3 #BFB4EE

Accessibility & contrast

On white

5.62
#6950D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6950D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950D8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950D8#FFFFFF#000000##FFFFFF
##6950D81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#3E718D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6950d8;
/* rgb */ color: rgb(105, 80, 216);
/* oklch */ color: oklch(53.5% 0.199 286.0);
Tailwind
colors: {
  custom: {
    50: '#9d82e5',
    500: '#6950d8',
    950: '#000000',
  },
}
SCSS
$custom: #6950d8;
$custom-light: #9d82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6950d8",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 251.029,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.19861,
    "h": 286
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#6950D8
secondary
#D3DDA7
accent
#E741C8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6950D8

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

Preview Lab → · Contrast checker → · Palette generator →

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