#6645CA#6645CA

#6645CA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.195 H 288.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6645CA
RGBrgb(102, 69, 202)
HSLhsl(255, 56%, 53%)
HSVhsv(255, 66%, 79%)
CMYKcmyk(49.5%, 65.8%, 0%, 20.8%)
CIE-LABlab(40.15, 46.49, -64.46)
CIE-LCHlch(40.15, 79.47, 305.80°)
OKLaboklab(50.41% 0.063 -0.1848)
OKLCHoklch(50.41% 0.195 288.8)
XYZxyz(18.2652, 11.3445, 57.0930)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645CA #A9CA45
analogous
#4566CA #6645CA #A845CA
triadic
#6645CA #CA6645 #45CA66
tetradic
#6645CA #CA4566 #A9CA45 #45CAA8
square
#6645CA #CA4566 #A9CA45 #45CAA8
split-complementary
#6645CA #CAA845 #66CA45
monochromatic
#352174 #4B2FA3 #6645CA #8D75D8 #B4A4E5

Accessibility & contrast

On white

6.42
#6645CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6645CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645CA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645CA#FFFFFF#000000##FFFFFF
##6645CA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#436681
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6645ca;
/* rgb */ color: rgb(102, 69, 202);
/* oklch */ color: oklch(50.4% 0.195 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a7bdb',
    500: '#6645ca',
    950: '#000000',
  },
}
SCSS
$custom: #6645ca;
$custom-light: #9a7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6645ca",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 254.887,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.19523,
    "h": 288.8
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#6645CA
secondary
#C4D299
accent
#DF49BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6645CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6645CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva