#6950CF#6950CF

#6950CF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.187 H 287.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6950CF
RGBrgb(105, 80, 207)
HSLhsl(252, 57%, 56%)
HSVhsv(252, 61%, 81%)
CMYKcmyk(49.3%, 61.4%, 0%, 18.8%)
CIE-LABlab(43.13, 42.30, -62.50)
CIE-LCHlch(43.13, 75.46, 304.09°)
OKLaboklab(52.76% 0.0554 -0.1789)
OKLCHoklch(52.76% 0.187 287.2)
XYZxyz(19.9535, 13.2447, 60.5245)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950CF #B6CF50
analogous
#5077CF #6950CF #A950CF
triadic
#6950CF #CF6950 #50CF69
tetradic
#6950CF #CF5077 #B6CF50 #50CFA9
square
#6950CF #CF5077 #B6CF50 #50CFA9
split-complementary
#6950CF #CFA950 #77CF50
monochromatic
#362381 #4A31B1 #6950CF #9280DC #BBB0E9

Accessibility & contrast

On white

5.75
#6950CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6950CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950CF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950CF#FFFFFF#000000##FFFFFF
##6950CF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#456E88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6950cf;
/* rgb */ color: rgb(105, 80, 207);
/* oklch */ color: oklch(52.8% 0.187 287.2);
Tailwind
colors: {
  custom: {
    50: '#9c82df',
    500: '#6950cf',
    950: '#000000',
  },
}
SCSS
$custom: #6950cf;
$custom-light: #9c82df;
$custom-dark: #000000;
JSON
{
  "hex": "#6950cf",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 251.811,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.1873,
    "h": 287.2
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#6950CF
secondary
#CDD8A3
accent
#E048C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6950CF

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

Preview Lab → · Contrast checker → · Palette generator →

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