#663EDB#663EDB

#663EDB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.223 H 287.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#663EDB
RGBrgb(102, 62, 219)
HSLhsl(255, 69%, 55%)
HSVhsv(255, 72%, 86%)
CMYKcmyk(53.4%, 71.7%, 0%, 14.1%)
CIE-LABlab(40.22, 54.99, -74.15)
CIE-LCHlch(40.22, 92.32, 306.56°)
OKLaboklab(50.89% 0.0663 -0.2132)
OKLCHoklch(50.89% 0.223 287.3)
XYZxyz(19.9845, 11.3835, 68.1483)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EDB #B3DB3E
analogous
#3E64DB #663EDB #B53EDB
triadic
#663EDB #DB663E #3EDB66
tetradic
#663EDB #DB3E64 #B3DB3E #3EDBB5
square
#663EDB #DB3E64 #B3DB3E #3EDBB5
split-complementary
#663EDB #DBB53E #64DB3E
monochromatic
#351986 #4923B9 #663EDB #8F72E5 #B8A5EE

Accessibility & contrast

On white

6.41
#663EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#663EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EDB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EDB#FFFFFF#000000##FFFFFF
##663EDB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#366889
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #663edb;
/* rgb */ color: rgb(102, 62, 219);
/* oklch */ color: oklch(50.9% 0.223 287.3);
Tailwind
colors: {
  custom: {
    50: '#9d77e7',
    500: '#663edb',
    950: '#000000',
  },
}
SCSS
$custom: #663edb;
$custom-light: #9d77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#663edb",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 255.287,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.22328,
    "h": 287.3
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#663EDB
secondary
#CBDB99
accent
#EB3CBF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #663EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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