#6950BF#6950BF

#6950BF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.167 H 289.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6950BF
RGBrgb(105, 80, 191)
HSLhsl(254, 46%, 53%)
HSVhsv(254, 58%, 75%)
CMYKcmyk(45%, 58.1%, 0%, 25.1%)
CIE-LABlab(42.00, 37.63, -55.05)
CIE-LCHlch(42.00, 66.68, 304.35°)
OKLaboklab(51.57% 0.056 -0.157)
OKLCHoklch(51.57% 0.167 289.6)
XYZxyz(18.0957, 12.5015, 50.7397)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950BF #A6BF50
analogous
#506EBF #6950BF #A150BF
triadic
#6950BF #BF6950 #50BF69
tetradic
#6950BF #BF506E #A6BF50 #50BFA1
square
#6950BF #BF506E #A6BF50 #50BFA1
split-complementary
#6950BF #BFA150 #6EBF50
monochromatic
#37286D #4E389A #6950BF #8F7DCF #B6AAE0

Accessibility & contrast

On white

6.00
#6950BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6950BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950BF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950BF#FFFFFF#000000##FFFFFF
##6950BF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0760BD
Tritanopia (blue-blind)
#4F6980
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6950bf;
/* rgb */ color: rgb(105, 80, 191);
/* oklch */ color: oklch(51.6% 0.167 289.6);
Tailwind
colors: {
  custom: {
    50: '#9a82d3',
    500: '#6950bf',
    950: '#000000',
  },
}
SCSS
$custom: #6950bf;
$custom-light: #9a82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6950bf",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 253.514,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.16672,
    "h": 289.6
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#6950BF
secondary
#C3CD9D
accent
#D652B8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6950BF

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

Preview Lab → · Contrast checker → · Palette generator →

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