#6952BF#6952BF

#6952BF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.9% C 0.164 H 289.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6952BF
RGBrgb(105, 82, 191)
HSLhsl(253, 46%, 54%)
HSVhsv(253, 57%, 75%)
CMYKcmyk(45%, 57.1%, 0%, 25.1%)
CIE-LABlab(42.46, 36.45, -54.32)
CIE-LCHlch(42.46, 65.41, 303.86°)
OKLaboklab(51.91% 0.0537 -0.1549)
OKLCHoklch(51.91% 0.164 289.1)
XYZxyz(18.2443, 12.7988, 50.7892)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6952BF #A8BF52
analogous
#5271BF #6952BF #A052BF
triadic
#6952BF #BF6952 #52BF69
tetradic
#6952BF #BF5271 #A8BF52 #52BFA0
square
#6952BF #BF5271 #A8BF52 #52BFA0
split-complementary
#6952BF #BFA052 #71BF52
monochromatic
#37296E #4E399B #6952BF #907FD0 #B6ABE0

Accessibility & contrast

On white

5.90
#6952BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6952BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6952BF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6952BF#FFFFFF#000000##FFFFFF
##6952BF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C66C3
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#4F6A80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6952bf;
/* rgb */ color: rgb(105, 82, 191);
/* oklch */ color: oklch(51.9% 0.164 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a83d3',
    500: '#6952bf',
    950: '#000000',
  },
}
SCSS
$custom: #6952bf;
$custom-light: #9a83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6952bf",
  "rgb": {
    "r": 105,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 252.661,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.1639,
    "h": 289.1
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#6952BF
secondary
#C4CE9F
accent
#D652BA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6952BF

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

Preview Lab → · Contrast checker → · Palette generator →

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