#6950CC#6950CC

#6950CC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.183 H 287.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6950CC
RGBrgb(105, 80, 204)
HSLhsl(252, 55%, 56%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(48.5%, 60.8%, 0%, 20%)
CIE-LABlab(42.91, 41.42, -61.12)
CIE-LCHlch(42.91, 73.83, 304.12°)
OKLaboklab(52.53% 0.0555 -0.1749)
OKLCHoklch(52.53% 0.183 287.6)
XYZxyz(19.5903, 13.0993, 58.6112)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950CC #B3CC50
analogous
#5075CC #6950CC #A750CC
triadic
#6950CC #CC6950 #50CC69
tetradic
#6950CC #CC5075 #B3CC50 #50CCA7
square
#6950CC #CC5075 #B3CC50 #50CCA7
split-complementary
#6950CC #CCA750 #75CC50
monochromatic
#36247D #4B32AD #6950CC #927FDA #BAAFE8

Accessibility & contrast

On white

5.80
#6950CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6950CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950CC#FFFFFF#000000##FFFFFF
##6950CC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#476D86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6950cc;
/* rgb */ color: rgb(105, 80, 204);
/* oklch */ color: oklch(52.5% 0.183 287.6);
Tailwind
colors: {
  custom: {
    50: '#9b82dc',
    500: '#6950cc',
    950: '#000000',
  },
}
SCSS
$custom: #6950cc;
$custom-light: #9b82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6950cc",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 252.097,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.18349,
    "h": 287.6
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#6950CC
secondary
#CBD6A2
accent
#DE4AC0
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6950CC

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

Preview Lab → · Contrast checker → · Palette generator →

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