#663DA0#663DA0

#663DA0 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.0% C 0.154 H 299.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#663DA0
RGBrgb(102, 61, 160)
HSLhsl(265, 45%, 43%)
HSVhsv(265, 62%, 63%)
CMYKcmyk(36.2%, 61.9%, 0%, 37.3%)
CIE-LABlab(35.40, 39.27, -47.36)
CIE-LCHlch(35.40, 61.52, 309.67°)
OKLaboklab(45.99% 0.0756 -0.1345)
OKLCHoklch(45.99% 0.154 299.3)
XYZxyz(13.4918, 8.7002, 34.2194)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DA0 #77A03D
analogous
#3D46A0 #663DA0 #973DA0
triadic
#663DA0 #A0663D #3DA066
tetradic
#663DA0 #A03D46 #77A03D #3DA097
square
#663DA0 #A03D46 #77A03D #3DA097
split-complementary
#663DA0 #A0973D #46A03D
monochromatic
#2E1B47 #4A2C74 #663DA0 #845AC0 #A586D1

Accessibility & contrast

On white

7.66
#663DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#663DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DA0
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DA0#FFFFFF#000000##FFFFFF
##663DA01.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#17529E
Tritanopia (blue-blind)
#595268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #663da0;
/* rgb */ color: rgb(102, 61, 160);
/* oklch */ color: oklch(46.0% 0.154 299.3);
Tailwind
colors: {
  custom: {
    50: '#9674bd',
    500: '#663da0',
    950: '#000000',
  },
}
SCSS
$custom: #663da0;
$custom-light: #9674bd;
$custom-dark: #000000;
JSON
{
  "hex": "#663da0",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 264.848,
    "s": 44.796,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.15429,
    "h": 299.3
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#663DA0
secondary
#A2BB7D
accent
#D4539F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #663DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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