#6645CF#6645CF

#6645CF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.8% C 0.201 H 288.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6645CF
RGBrgb(102, 69, 207)
HSLhsl(254, 59%, 54%)
HSVhsv(254, 67%, 81%)
CMYKcmyk(50.7%, 66.7%, 0%, 18.8%)
CIE-LABlab(40.55, 47.92, -66.71)
CIE-LCHlch(40.55, 82.14, 305.69°)
OKLaboklab(50.82% 0.0623 -0.1914)
OKLCHoklch(50.82% 0.201 288)
XYZxyz(18.8668, 11.5851, 60.2614)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645CF #AECF45
analogous
#4569CF #6645CF #AB45CF
triadic
#6645CF #CF6645 #45CF66
tetradic
#6645CF #CF4569 #AECF45 #45CFAB
square
#6645CF #CF4569 #AECF45 #45CFAB
split-complementary
#6645CF #CFAB45 #69CF45
monochromatic
#35207A #4A2CAB #6645CF #8E76DC #B6A6E8

Accessibility & contrast

On white

6.33
#6645CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6645CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645CF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645CF#FFFFFF#000000##FFFFFF
##6645CF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#406884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6645cf;
/* rgb */ color: rgb(102, 69, 207);
/* oklch */ color: oklch(50.8% 0.201 288.0);
Tailwind
colors: {
  custom: {
    50: '#9b7bdf',
    500: '#6645cf',
    950: '#000000',
  },
}
SCSS
$custom: #6645cf;
$custom-light: #9b7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6645cf",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 254.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.20129,
    "h": 288
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#6645CF
secondary
#C7D59B
accent
#E246BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6645CF

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

Preview Lab → · Contrast checker → · Palette generator →

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