#6951CC#6951CC

#6951CC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.182 H 287.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6951CC
RGBrgb(105, 81, 204)
HSLhsl(252, 55%, 56%)
HSVhsv(252, 60%, 80%)
CMYKcmyk(48.5%, 60.3%, 0%, 20%)
CIE-LABlab(43.13, 40.84, -60.76)
CIE-LCHlch(43.13, 73.21, 303.90°)
OKLaboklab(52.69% 0.0545 -0.1738)
OKLCHoklch(52.69% 0.182 287.4)
XYZxyz(19.6640, 13.2469, 58.6358)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6951CC #B4CC51
analogous
#5176CC #6951CC #A651CC
triadic
#6951CC #CC6951 #51CC69
tetradic
#6951CC #CC5176 #B4CC51 #51CCA6
square
#6951CC #CC5176 #B4CC51 #51CCA6
split-complementary
#6951CC #CCA651 #76CC51
monochromatic
#36257E #4B33AD #6951CC #9280DA #BBB0E8

Accessibility & contrast

On white

5.75
#6951CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6951CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6951CC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6951CC#FFFFFF#000000##FFFFFF
##6951CC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#476E87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6951cc;
/* rgb */ color: rgb(105, 81, 204);
/* oklch */ color: oklch(52.7% 0.182 287.4);
Tailwind
colors: {
  custom: {
    50: '#9b83dc',
    500: '#6951cc',
    950: '#000000',
  },
}
SCSS
$custom: #6951cc;
$custom-light: #9b83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6951cc",
  "rgb": {
    "r": 105,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 251.707,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.18216,
    "h": 287.4
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#6951CC
secondary
#CCD6A3
accent
#DE4AC1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6951CC

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

Preview Lab → · Contrast checker → · Palette generator →

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