#6952CB#6952CB

#6952CB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.180 H 287.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6952CB
RGBrgb(105, 82, 203)
HSLhsl(251, 54%, 56%)
HSVhsv(251, 60%, 80%)
CMYKcmyk(48.3%, 59.6%, 0%, 20.4%)
CIE-LABlab(43.28, 39.96, -59.94)
CIE-LCHlch(43.28, 72.04, 303.69°)
OKLaboklab(52.78% 0.0534 -0.1714)
OKLCHoklch(52.78% 0.18 287.3)
XYZxyz(19.6193, 13.3488, 58.0311)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6952CB #B4CB52
analogous
#5277CB #6952CB #A552CB
triadic
#6952CB #CB6952 #52CB69
tetradic
#6952CB #CB5277 #B4CB52 #52CBA5
square
#6952CB #CB5277 #B4CB52 #52CBA5
split-complementary
#6952CB #CBA552 #77CB52
monochromatic
#36267D #4B34AC #6952CB #9281D9 #BBB0E7

Accessibility & contrast

On white

5.72
#6952CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6952CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6952CB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6952CB#FFFFFF#000000##FFFFFF
##6952CB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#486E87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6952cb;
/* rgb */ color: rgb(105, 82, 203);
/* oklch */ color: oklch(52.8% 0.180 287.3);
Tailwind
colors: {
  custom: {
    50: '#9b83dc',
    500: '#6952cb',
    950: '#000000',
  },
}
SCSS
$custom: #6952cb;
$custom-light: #9b83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6952cb",
  "rgb": {
    "r": 105,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 251.405,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.17955,
    "h": 287.3
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#6952CB
secondary
#CCD5A3
accent
#DD4BC1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6952CB

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

Preview Lab → · Contrast checker → · Palette generator →

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