#6645CD#6645CD

#6645CD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.199 H 288.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6645CD
RGBrgb(102, 69, 205)
HSLhsl(255, 58%, 54%)
HSVhsv(255, 66%, 80%)
CMYKcmyk(50.2%, 66.3%, 0%, 19.6%)
CIE-LABlab(40.39, 47.35, -65.81)
CIE-LCHlch(40.39, 81.07, 305.73°)
OKLaboklab(50.66% 0.0626 -0.1888)
OKLCHoklch(50.66% 0.199 288.3)
XYZxyz(18.6238, 11.4880, 58.9819)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645CD #ACCD45
analogous
#4568CD #6645CD #AA45CD
triadic
#6645CD #CD6645 #45CD66
tetradic
#6645CD #CD4568 #ACCD45 #45CDAA
square
#6645CD #CD4568 #ACCD45 #45CDAA
split-complementary
#6645CD #CDAA45 #68CD45
monochromatic
#352077 #4B2DA8 #6645CD #8E75DA #B5A5E7

Accessibility & contrast

On white

6.37
#6645CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6645CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645CD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645CD#FFFFFF#000000##FFFFFF
##6645CD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#416783
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6645cd;
/* rgb */ color: rgb(102, 69, 205);
/* oklch */ color: oklch(50.7% 0.199 288.3);
Tailwind
colors: {
  custom: {
    50: '#9a7bdd',
    500: '#6645cd',
    950: '#000000',
  },
}
SCSS
$custom: #6645cd;
$custom-light: #9a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6645cd",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 254.559,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.19886,
    "h": 288.3
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#6645CD
secondary
#C6D49A
accent
#E147BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6645CD

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

Preview Lab → · Contrast checker → · Palette generator →

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