#6651CB#6651CB

#6651CB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.181 H 286.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6651CB
RGBrgb(102, 81, 203)
HSLhsl(250, 54%, 56%)
HSVhsv(250, 60%, 80%)
CMYKcmyk(49.8%, 60.1%, 0%, 20.4%)
CIE-LABlab(42.79, 39.94, -60.75)
CIE-LCHlch(42.79, 72.70, 303.33°)
OKLaboklab(52.36% 0.0506 -0.1739)
OKLCHoklch(52.36% 0.181 286.2)
XYZxyz(19.1982, 13.0205, 57.9900)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6651CB #B6CB51
analogous
#5179CB #6651CB #A351CB
triadic
#6651CB #CB6651 #51CB66
tetradic
#6651CB #CB5179 #B6CB51 #51CBA3
square
#6651CB #CB5179 #B6CB51 #51CBA3
split-complementary
#6651CB #CBA351 #79CB51
monochromatic
#34257C #4833AC #6651CB #8F80D9 #B9AFE7

Accessibility & contrast

On white

5.83
#6651CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6651CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6651CB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6651CB#FFFFFF#000000##FFFFFF
##6651CB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#426D86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6651cb;
/* rgb */ color: rgb(102, 81, 203);
/* oklch */ color: oklch(52.4% 0.181 286.2);
Tailwind
colors: {
  custom: {
    50: '#9983dc',
    500: '#6651cb',
    950: '#000000',
  },
}
SCSS
$custom: #6651cb;
$custom-light: #9983dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6651cb",
  "rgb": {
    "r": 102,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 250.328,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.18109,
    "h": 286.2
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#6651CB
secondary
#CDD5A3
accent
#DD4AC4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6651CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6651CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva