#663ACF#663ACF

#663ACF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.214 H 289.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#663ACF
RGBrgb(102, 58, 207)
HSLhsl(258, 61%, 52%)
HSVhsv(258, 72%, 81%)
CMYKcmyk(50.7%, 72%, 0%, 18.8%)
CIE-LABlab(38.47, 53.67, -70.10)
CIE-LCHlch(38.47, 88.29, 307.44°)
OKLaboklab(49.34% 0.0721 -0.2013)
OKLCHoklch(49.34% 0.214 289.7)
XYZxyz(18.2518, 10.3551, 60.0564)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663ACF #A3CF3A
analogous
#3A59CF #663ACF #B03ACF
triadic
#663ACF #CF663A #3ACF66
tetradic
#663ACF #CF3A59 #A3CF3A #3ACFB0
square
#663ACF #CF3A59 #A3CF3A #3ACFB0
split-complementary
#663ACF #CFB03A #59CF3A
monochromatic
#361C73 #4D28A4 #663ACF #8C6BDB #B29CE7

Accessibility & contrast

On white

6.84
#663ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#663ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663ACF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663ACF#FFFFFF#000000##FFFFFF
##663ACF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#406281
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #663acf;
/* rgb */ color: rgb(102, 58, 207);
/* oklch */ color: oklch(49.3% 0.214 289.7);
Tailwind
colors: {
  custom: {
    50: '#9b74df',
    500: '#663acf',
    950: '#000000',
  },
}
SCSS
$custom: #663acf;
$custom-light: #9b74df;
$custom-dark: #000000;
JSON
{
  "hex": "#663acf",
  "rgb": {
    "r": 102,
    "g": 58,
    "b": 207
  },
  "hsl": {
    "h": 257.718,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.21385,
    "h": 289.7
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#663ACF
secondary
#C0D392
accent
#E444B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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