#6951CE#6951CE

#6951CE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.185 H 287.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6951CE
RGBrgb(105, 81, 206)
HSLhsl(252, 56%, 56%)
HSVhsv(252, 61%, 81%)
CMYKcmyk(49%, 60.7%, 0%, 19.2%)
CIE-LABlab(43.28, 41.42, -61.68)
CIE-LCHlch(43.28, 74.30, 303.88°)
OKLaboklab(52.84% 0.0544 -0.1765)
OKLCHoklch(52.84% 0.185 287.1)
XYZxyz(19.9054, 13.3434, 59.9073)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951CE #B6CE51
analogous
#5178CE #6951CE #A851CE
triadic
#6951CE #CE6951 #51CE69
tetradic
#6951CE #CE5178 #B6CE51 #51CEA8
square
#6951CE #CE5178 #B6CE51 #51CEA8
split-complementary
#6951CE #CEA851 #78CE51
monochromatic
#362480 #4A32B0 #6951CE #9281DB #BBB1E9

Accessibility & contrast

On white

5.72
#6951CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6951CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951CE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951CE#FFFFFF#000000##FFFFFF
##6951CE1.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)
#0069D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#466E88
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6951ce;
/* rgb */ color: rgb(105, 81, 206);
/* oklch */ color: oklch(52.8% 0.185 287.1);
Tailwind
colors: {
  custom: {
    50: '#9b83de',
    500: '#6951ce',
    950: '#000000',
  },
}
SCSS
$custom: #6951ce;
$custom-light: #9b83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6951ce",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 251.52,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.18471,
    "h": 287.1
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#6951CE
secondary
#CDD7A4
accent
#DF48C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6951CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6951CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva