#663DBA#663DBA

#663DBA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.186 H 293.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#663DBA
RGBrgb(102, 61, 186)
HSLhsl(260, 51%, 48%)
HSVhsv(260, 67%, 73%)
CMYKcmyk(45.2%, 67.2%, 0%, 27.1%)
CIE-LABlab(37.31, 46.34, -59.74)
CIE-LCHlch(37.31, 75.61, 307.80°)
OKLaboklab(47.98% 0.0731 -0.1709)
OKLCHoklch(47.98% 0.186 293.2)
XYZxyz(16.0087, 9.7070, 47.4750)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DBA #91BA3D
analogous
#3D52BA #663DBA #A43DBA
triadic
#663DBA #BA663D #3DBA66
tetradic
#663DBA #BA3D52 #91BA3D #3DBAA4
square
#663DBA #BA3D52 #91BA3D #3DBAA4
split-complementary
#663DBA #BAA43D #52BA3D
monochromatic
#331F5E #4D2E8C #663DBA #8967CD #AC95DC

Accessibility & contrast

On white

7.14
#663DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#663DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663DBA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DBA#FFFFFF#000000##FFFFFF
##663DBA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#4E5B76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663dba;
/* rgb */ color: rgb(102, 61, 186);
/* oklch */ color: oklch(48.0% 0.186 293.2);
Tailwind
colors: {
  custom: {
    50: '#9875d0',
    500: '#663dba',
    950: '#000000',
  },
}
SCSS
$custom: #663dba;
$custom-light: #9875d0;
$custom-dark: #000000;
JSON
{
  "hex": "#663dba",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 259.68,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.1859,
    "h": 293.2
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#663DBA
secondary
#B4C88B
accent
#DA4EAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #663DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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