#663FB7#663FB7

#663FB7 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.180 H 293.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#663FB7
RGBrgb(102, 63, 183)
HSLhsl(260, 49%, 48%)
HSVhsv(260, 66%, 72%)
CMYKcmyk(44.3%, 65.6%, 0%, 28.2%)
CIE-LABlab(37.48, 44.43, -57.70)
CIE-LCHlch(37.48, 72.82, 307.59°)
OKLaboklab(48.03% 0.0714 -0.1649)
OKLCHoklch(48.03% 0.18 293.4)
XYZxyz(15.8019, 9.7982, 45.8492)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FB7 #90B73F
analogous
#3F54B7 #663FB7 #A23FB7
triadic
#663FB7 #B7663F #3FB766
tetradic
#663FB7 #B73F54 #90B73F #3FB7A2
square
#663FB7 #B73F54 #90B73F #3FB7A2
split-complementary
#663FB7 #B7A23F #54B73F
monochromatic
#33205C #4D2F89 #663FB7 #8868CB #AC96DB

Accessibility & contrast

On white

7.10
#663FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#663FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663FB7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FB7#FFFFFF#000000##FFFFFF
##663FB71.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#4F5B75
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663fb7;
/* rgb */ color: rgb(102, 63, 183);
/* oklch */ color: oklch(48.0% 0.180 293.4);
Tailwind
colors: {
  custom: {
    50: '#9876cd',
    500: '#663fb7',
    950: '#000000',
  },
}
SCSS
$custom: #663fb7;
$custom-light: #9876cd;
$custom-dark: #000000;
JSON
{
  "hex": "#663fb7",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 259.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48025,
    "c": 0.17972,
    "h": 293.4
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#663FB7
secondary
#B3C68B
accent
#D84FAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #663FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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