#6951CD#6951CD

#6951CD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.183 H 287.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6951CD
RGBrgb(105, 81, 205)
HSLhsl(252, 55%, 56%)
HSVhsv(252, 60%, 80%)
CMYKcmyk(48.8%, 60.5%, 0%, 19.6%)
CIE-LABlab(43.20, 41.13, -61.22)
CIE-LCHlch(43.20, 73.76, 303.89°)
OKLaboklab(52.77% 0.0544 -0.1752)
OKLCHoklch(52.77% 0.183 287.3)
XYZxyz(19.7844, 13.2950, 59.2695)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951CD #B5CD51
analogous
#5177CD #6951CD #A751CD
triadic
#6951CD #CD6951 #51CD69
tetradic
#6951CD #CD5177 #B5CD51 #51CDA7
square
#6951CD #CD5177 #B5CD51 #51CDA7
split-complementary
#6951CD #CDA751 #77CD51
monochromatic
#36257F #4A32AF #6951CD #9281DB #BBB0E8

Accessibility & contrast

On white

5.74
#6951CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6951CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951CD#FFFFFF#000000##FFFFFF
##6951CD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#466E87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6951cd;
/* rgb */ color: rgb(105, 81, 205);
/* oklch */ color: oklch(52.8% 0.183 287.3);
Tailwind
colors: {
  custom: {
    50: '#9b83dd',
    500: '#6951cd',
    950: '#000000',
  },
}
SCSS
$custom: #6951cd;
$custom-light: #9b83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6951cd",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 251.613,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.18344,
    "h": 287.3
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

primary
#6951CD
secondary
#CDD7A3
accent
#DF49C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6951CD

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

Preview Lab → · Contrast checker → · Palette generator →

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