#663FBB#663FBB

#663FBB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.185 H 292.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#663FBB
RGBrgb(102, 63, 187)
HSLhsl(259, 50%, 49%)
HSVhsv(259, 66%, 73%)
CMYKcmyk(45.5%, 66.3%, 0%, 26.7%)
CIE-LABlab(37.78, 45.54, -59.56)
CIE-LCHlch(37.78, 74.97, 307.40°)
OKLaboklab(48.34% 0.0709 -0.1704)
OKLCHoklch(48.34% 0.185 292.6)
XYZxyz(16.2242, 9.9671, 48.0731)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FBB #94BB3F
analogous
#3F56BB #663FBB #A43FBB
triadic
#663FBB #BB663F #3FBB66
tetradic
#663FBB #BB3F56 #94BB3F #3FBBA4
square
#663FBB #BB3F56 #94BB3F #3FBBA4
split-complementary
#663FBB #BBA43F #56BB3F
monochromatic
#34205F #4D308D #663FBB #896ACD #AE98DC

Accessibility & contrast

On white

7.01
#663FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#663FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663FBB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FBB#FFFFFF#000000##FFFFFF
##663FBB1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#4D5D77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663fbb;
/* rgb */ color: rgb(102, 63, 187);
/* oklch */ color: oklch(48.3% 0.185 292.6);
Tailwind
colors: {
  custom: {
    50: '#9876d0',
    500: '#663fbb',
    950: '#000000',
  },
}
SCSS
$custom: #663fbb;
$custom-light: #9876d0;
$custom-dark: #000000;
JSON
{
  "hex": "#663fbb",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 258.871,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.18457,
    "h": 292.6
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#663FBB
secondary
#B6C88E
accent
#D94FAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #663FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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