#6645C8#6645C8

#6645C8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.193 H 289.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6645C8
RGBrgb(102, 69, 200)
HSLhsl(255, 54%, 53%)
HSVhsv(255, 66%, 78%)
CMYKcmyk(49%, 65.5%, 0%, 21.6%)
CIE-LABlab(40.00, 45.92, -63.55)
CIE-LCHlch(40.00, 78.40, 305.85°)
OKLaboklab(50.25% 0.0632 -0.1821)
OKLCHoklch(50.25% 0.193 289.1)
XYZxyz(18.0299, 11.2504, 55.8539)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645C8 #A7C845
analogous
#4565C8 #6645C8 #A845C8
triadic
#6645C8 #C86645 #45C866
tetradic
#6645C8 #C84565 #A7C845 #45C8A8
square
#6645C8 #C84565 #A7C845 #45C8A8
split-complementary
#6645C8 #C8A845 #65C845
monochromatic
#362171 #4C2FA0 #6645C8 #8D74D6 #B4A3E4

Accessibility & contrast

On white

6.46
#6645C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6645C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645C8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645C8#FFFFFF#000000##FFFFFF
##6645C81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#456580
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6645c8;
/* rgb */ color: rgb(102, 69, 200);
/* oklch */ color: oklch(50.3% 0.193 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a7bda',
    500: '#6645c8',
    950: '#000000',
  },
}
SCSS
$custom: #6645c8;
$custom-light: #9a7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6645c8",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 255.115,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.19278,
    "h": 289.1
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#6645C8
secondary
#C2D198
accent
#DE4AB9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6645C8

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

Preview Lab → · Contrast checker → · Palette generator →

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