#6952DB#6952DB

#6952DB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.200 H 285.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6952DB
RGBrgb(105, 82, 219)
HSLhsl(250, 66%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(52.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(44.45, 44.69, -67.23)
CIE-LCHlch(44.45, 80.73, 303.61°)
OKLaboklab(54% 0.0525 -0.1928)
OKLCHoklch(54% 0.2 285.2)
XYZxyz(21.6253, 14.1512, 68.5961)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6952DB #C4DB52
analogous
#5280DB #6952DB #AE52DB
triadic
#6952DB #DB6952 #52DB69
tetradic
#6952DB #DB5280 #C4DB52 #52DBAE
square
#6952DB #DB5280 #C4DB52 #52DBAE
split-complementary
#6952DB #DBAE52 #80DB52
monochromatic
#321F94 #4429C6 #6952DB #9585E6 #C1B7F0

Accessibility & contrast

On white

5.48
#6952DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6952DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6952DB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6952DB#FFFFFF#000000##FFFFFF
##6952DB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#3B738F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6952db;
/* rgb */ color: rgb(105, 82, 219);
/* oklch */ color: oklch(54.0% 0.200 285.2);
Tailwind
colors: {
  custom: {
    50: '#9d84e7',
    500: '#6952db',
    950: '#000000',
  },
}
SCSS
$custom: #6952db;
$custom-light: #9d84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6952db",
  "rgb": {
    "r": 105,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 250.073,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53998,
    "c": 0.19985,
    "h": 285.2
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#6952DB
secondary
#D6DFAA
accent
#E93FCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6952DB

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

Preview Lab → · Contrast checker → · Palette generator →

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