#663CBE#663CBE

#663CBE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.192 H 292.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#663CBE
RGBrgb(102, 60, 190)
HSLhsl(259, 52%, 49%)
HSVhsv(259, 68%, 75%)
CMYKcmyk(46.3%, 68.4%, 0%, 25.5%)
CIE-LABlab(37.43, 47.97, -61.89)
CIE-LCHlch(37.43, 78.31, 307.78°)
OKLaboklab(48.16% 0.0735 -0.1772)
OKLCHoklch(48.16% 0.192 292.5)
XYZxyz(16.3870, 9.7737, 49.7283)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CBE #94BE3C
analogous
#3C53BE #663CBE #A73CBE
triadic
#663CBE #BE663C #3CBE66
tetradic
#663CBE #BE3C53 #94BE3C #3CBEA7
square
#663CBE #BE3C53 #94BE3C #3CBEA7
split-complementary
#663CBE #BEA73C #53BE3C
monochromatic
#341F61 #4D2D8F #663CBE #8968CF #AE96DE

Accessibility & contrast

On white

7.11
#663CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#663CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663CBE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CBE#FFFFFF#000000##FFFFFF
##663CBE1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#4B5C78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663cbe;
/* rgb */ color: rgb(102, 60, 190);
/* oklch */ color: oklch(48.2% 0.192 292.5);
Tailwind
colors: {
  custom: {
    50: '#9975d3',
    500: '#663cbe',
    950: '#000000',
  },
}
SCSS
$custom: #663cbe;
$custom-light: #9975d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663cbe",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 259.385,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.19188,
    "h": 292.5
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#663CBE
secondary
#B6CA8C
accent
#DB4CAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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