#6952CD#6952CD

#6952CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.182 H 287.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6952CD
RGBrgb(105, 82, 205)
HSLhsl(251, 55%, 56%)
HSVhsv(251, 60%, 80%)
CMYKcmyk(48.8%, 60%, 0%, 19.6%)
CIE-LABlab(43.43, 40.55, -60.87)
CIE-LCHlch(43.43, 73.14, 303.67°)
OKLaboklab(52.93% 0.0534 -0.1741)
OKLCHoklch(52.93% 0.182 287)
XYZxyz(19.8592, 13.4447, 59.2945)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6952CD #B6CD52
analogous
#5279CD #6952CD #A752CD
triadic
#6952CD #CD6952 #52CD69
tetradic
#6952CD #CD5279 #B6CD52 #52CDA7
square
#6952CD #CD5279 #B6CD52 #52CDA7
split-complementary
#6952CD #CDA752 #79CD52
monochromatic
#362580 #4A33AF #6952CD #9281DB #BBB1E8

Accessibility & contrast

On white

5.69
#6952CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6952CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6952CD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6952CD#FFFFFF#000000##FFFFFF
##6952CD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#466F88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6952cd;
/* rgb */ color: rgb(105, 82, 205);
/* oklch */ color: oklch(52.9% 0.182 287.0);
Tailwind
colors: {
  custom: {
    50: '#9b83dd',
    500: '#6952cd',
    950: '#000000',
  },
}
SCSS
$custom: #6952cd;
$custom-light: #9b83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6952cd",
  "rgb": {
    "r": 105,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 251.22,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.18211,
    "h": 287
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#6952CD
secondary
#CDD7A4
accent
#DE49C3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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