#6952CF#6952CF

#6952CF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.185 H 286.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6952CF
RGBrgb(105, 82, 207)
HSLhsl(251, 57%, 57%)
HSVhsv(251, 60%, 81%)
CMYKcmyk(49.3%, 60.4%, 0%, 18.8%)
CIE-LABlab(43.57, 41.14, -61.79)
CIE-LCHlch(43.57, 74.23, 303.66°)
OKLaboklab(53.08% 0.0533 -0.1768)
OKLCHoklch(53.08% 0.185 286.8)
XYZxyz(20.1022, 13.5419, 60.5740)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6952CF #B8CF52
analogous
#527ACF #6952CF #A852CF
triadic
#6952CF #CF6952 #52CF69
tetradic
#6952CF #CF527A #B8CF52 #52CFA8
square
#6952CF #CF527A #B8CF52 #52CFA8
split-complementary
#6952CF #CFA852 #7ACF52
monochromatic
#362482 #4931B2 #6952CF #9382DC #BCB2EA

Accessibility & contrast

On white

5.66
#6952CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6952CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6952CF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6952CF#FFFFFF#000000##FFFFFF
##6952CF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#456F89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6952cf;
/* rgb */ color: rgb(105, 82, 207);
/* oklch */ color: oklch(53.1% 0.185 286.8);
Tailwind
colors: {
  custom: {
    50: '#9c83de',
    500: '#6952cf',
    950: '#000000',
  },
}
SCSS
$custom: #6952cf;
$custom-light: #9c83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6952cf",
  "rgb": {
    "r": 105,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 251.04,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53078,
    "c": 0.18468,
    "h": 286.8
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#6952CF
secondary
#CFD8A5
accent
#E048C4
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6952CF

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

Preview Lab → · Contrast checker → · Palette generator →

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