#6950CD#6950CD

#6950CD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.185 H 287.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6950CD
RGBrgb(105, 80, 205)
HSLhsl(252, 56%, 56%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(48.8%, 61%, 0%, 19.6%)
CIE-LABlab(42.98, 41.71, -61.58)
CIE-LCHlch(42.98, 74.38, 304.11°)
OKLaboklab(52.61% 0.0555 -0.1762)
OKLCHoklch(52.61% 0.185 287.5)
XYZxyz(19.7106, 13.1475, 59.2449)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6950CD #B4CD50
analogous
#5075CD #6950CD #A750CD
triadic
#6950CD #CD6950 #50CD69
tetradic
#6950CD #CD5075 #B4CD50 #50CDA7
square
#6950CD #CD5075 #B4CD50 #50CDA7
split-complementary
#6950CD #CDA750 #75CD50
monochromatic
#36247E #4B32AE #6950CD #9280DB #BBAFE8

Accessibility & contrast

On white

5.79
#6950CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6950CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6950CD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6950CD#FFFFFF#000000##FFFFFF
##6950CD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#466D87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6950cd;
/* rgb */ color: rgb(105, 80, 205);
/* oklch */ color: oklch(52.6% 0.185 287.5);
Tailwind
colors: {
  custom: {
    50: '#9b82dd',
    500: '#6950cd',
    950: '#000000',
  },
}
SCSS
$custom: #6950cd;
$custom-light: #9b82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6950cd",
  "rgb": {
    "r": 105,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 252,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.18476,
    "h": 287.5
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#6950CD
secondary
#CCD6A2
accent
#DF49C1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6950CD

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

Preview Lab → · Contrast checker → · Palette generator →

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