#663BDA#663BDA

#663BDA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.225 H 287.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#663BDA
RGBrgb(102, 59, 218)
HSLhsl(256, 68%, 54%)
HSVhsv(256, 73%, 85%)
CMYKcmyk(53.2%, 72.9%, 0%, 14.5%)
CIE-LABlab(39.60, 56.20, -74.59)
CIE-LCHlch(39.60, 93.39, 307.00°)
OKLaboklab(50.43% 0.0688 -0.2145)
OKLCHoklch(50.43% 0.225 287.8)
XYZxyz(19.6946, 11.0137, 67.4042)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BDA #AFDA3B
analogous
#3B60DA #663BDA #B53BDA
triadic
#663BDA #DA663B #3BDA66
tetradic
#663BDA #DA3B60 #AFDA3B #3BDAB5
square
#663BDA #DA3B60 #AFDA3B #3BDAB5
split-complementary
#663BDA #DAB53B #60DA3B
monochromatic
#351982 #4A22B6 #663BDA #8E6EE4 #B6A2ED

Accessibility & contrast

On white

6.56
#663BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#663BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BDA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BDA#FFFFFF#000000##FFFFFF
##663BDA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0059D7
Tritanopia (blue-blind)
#376687
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #663bda;
/* rgb */ color: rgb(102, 59, 218);
/* oklch */ color: oklch(50.4% 0.225 287.8);
Tailwind
colors: {
  custom: {
    50: '#9d75e7',
    500: '#663bda',
    950: '#000000',
  },
}
SCSS
$custom: #663bda;
$custom-light: #9d75e7;
$custom-dark: #000000;
JSON
{
  "hex": "#663bda",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 256.226,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.22526,
    "h": 287.8
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#663BDA
secondary
#C8DA97
accent
#EB3DBC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #663BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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