#663DBE#663DBE

#663DBE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.191 H 292.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#663DBE
RGBrgb(102, 61, 190)
HSLhsl(259, 51%, 49%)
HSVhsv(259, 68%, 75%)
CMYKcmyk(46.3%, 67.9%, 0%, 25.5%)
CIE-LABlab(37.63, 47.44, -61.58)
CIE-LCHlch(37.63, 77.74, 307.61°)
OKLaboklab(48.3% 0.0725 -0.1763)
OKLCHoklch(48.3% 0.191 292.4)
XYZxyz(16.4399, 9.8794, 49.7459)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DBE #95BE3D
analogous
#3D55BE #663DBE #A73DBE
triadic
#663DBE #BE663D #3DBE66
tetradic
#663DBE #BE3D55 #95BE3D #3DBEA7
square
#663DBE #BE3D55 #95BE3D #3DBEA7
split-complementary
#663DBE #BEA73D #55BE3D
monochromatic
#341F61 #4D2E90 #663DBE #8A69CF #AE98DE

Accessibility & contrast

On white

7.06
#663DBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#663DBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DBE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DBE#FFFFFF#000000##FFFFFF
##663DBE1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #663dbe;
/* rgb */ color: rgb(102, 61, 190);
/* oklch */ color: oklch(48.3% 0.191 292.4);
Tailwind
colors: {
  custom: {
    50: '#9975d3',
    500: '#663dbe',
    950: '#000000',
  },
}
SCSS
$custom: #663dbe;
$custom-light: #9975d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663dbe",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 259.07,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.483,
    "c": 0.19066,
    "h": 292.4
  },
  "luminance": 0.0988
}

Semantic roles & 50–950 ramp

primary
#663DBE
secondary
#B6C98D
accent
#DB4DAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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