#663ECF#663ECF

#663ECF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.209 H 289.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#663ECF
RGBrgb(102, 62, 207)
HSLhsl(257, 60%, 53%)
HSVhsv(257, 70%, 81%)
CMYKcmyk(50.7%, 70%, 0%, 18.8%)
CIE-LABlab(39.20, 51.64, -68.92)
CIE-LCHlch(39.20, 86.12, 306.85°)
OKLaboklab(49.85% 0.0687 -0.1979)
OKLCHoklch(49.85% 0.209 289.1)
XYZxyz(18.4613, 10.7742, 60.1263)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ECF #A7CF3E
analogous
#3E5ECF #663ECF #AF3ECF
triadic
#663ECF #CF663E #3ECF66
tetradic
#663ECF #CF3E5E #A7CF3E #3ECFAF
square
#663ECF #CF3E5E #A7CF3E #3ECFAF
split-complementary
#663ECF #CFAF3E #5ECF3E
monochromatic
#361D75 #4C29A6 #663ECF #8D6FDB #B4A0E7

Accessibility & contrast

On white

6.66
#663ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#663ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ECF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ECF#FFFFFF#000000##FFFFFF
##663ECF1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#406482
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #663ecf;
/* rgb */ color: rgb(102, 62, 207);
/* oklch */ color: oklch(49.9% 0.209 289.1);
Tailwind
colors: {
  custom: {
    50: '#9b77df',
    500: '#663ecf',
    950: '#000000',
  },
}
SCSS
$custom: #663ecf;
$custom-light: #9b77df;
$custom-dark: #000000;
JSON
{
  "hex": "#663ecf",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 256.552,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.20945,
    "h": 289.1
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#663ECF
secondary
#C2D495
accent
#E344B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #663ECF

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

Preview Lab → · Contrast checker → · Palette generator →

#663ECF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva