#6950C8#6950C8

#6950C8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.178 H 288.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6950C8
RGBrgb(105, 80, 200)
HSLhsl(253, 52%, 55%)
HSVhsv(253, 60%, 78%)
CMYKcmyk(47.5%, 60%, 0%, 21.6%)
CIE-LABlab(42.63, 40.25, -59.27)
CIE-LCHlch(42.63, 71.64, 304.18°)
OKLaboklab(52.23% 0.0557 -0.1694)
OKLCHoklch(52.23% 0.178 288.2)
XYZxyz(19.1167, 12.9099, 56.1170)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950C8 #AFC850
analogous
#5073C8 #6950C8 #A550C8
triadic
#6950C8 #C86950 #50C869
tetradic
#6950C8 #C85073 #AFC850 #50C8A5
square
#6950C8 #C85073 #AFC850 #50C8A5
split-complementary
#6950C8 #C8A550 #73C850
monochromatic
#372678 #4C34A6 #6950C8 #917FD7 #B9ADE5

Accessibility & contrast

On white

5.86
#6950C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6950C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950C8#FFFFFF#000000##FFFFFF
##6950C81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#4A6C84
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6950c8;
/* rgb */ color: rgb(105, 80, 200);
/* oklch */ color: oklch(52.2% 0.178 288.2);
Tailwind
colors: {
  custom: {
    50: '#9b82d9',
    500: '#6950c8',
    950: '#000000',
  },
}
SCSS
$custom: #6950c8;
$custom-light: #9b82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6950c8",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 252.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.17837,
    "h": 288.2
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#6950C8
secondary
#C9D3A1
accent
#DC4CBE
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6950C8

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

Preview Lab → · Contrast checker → · Palette generator →

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