#663DBC#663DBC

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

Color values

HEX#663DBC
RGBrgb(102, 61, 188)
HSLhsl(259, 51%, 49%)
HSVhsv(259, 68%, 74%)
CMYKcmyk(45.7%, 67.6%, 0%, 26.3%)
CIE-LABlab(37.47, 46.89, -60.66)
CIE-LCHlch(37.47, 76.67, 307.70°)
OKLaboklab(48.14% 0.0728 -0.1736)
OKLCHoklch(48.14% 0.188 292.8)
XYZxyz(16.2228, 9.7926, 48.6026)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DBC #93BC3D
analogous
#3D54BC #663DBC #A63DBC
triadic
#663DBC #BC663D #3DBC66
tetradic
#663DBC #BC3D54 #93BC3D #3DBCA6
square
#663DBC #BC3D54 #93BC3D #3DBCA6
split-complementary
#663DBC #BCA63D #54BC3D
monochromatic
#341F60 #4D2E8E #663DBC #8968CE #AD96DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##663DBC#FFFFFF#000000##FFFFFF
##663DBC1.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)
#005AC0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#4D5C77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663dbc;
/* rgb */ color: rgb(102, 61, 188);
/* oklch */ color: oklch(48.1% 0.188 292.8);
Tailwind
colors: {
  custom: {
    50: '#9975d1',
    500: '#663dbc',
    950: '#000000',
  },
}
SCSS
$custom: #663dbc;
$custom-light: #9975d1;
$custom-dark: #000000;
JSON
{
  "hex": "#663dbc",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 259.37,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.18828,
    "h": 292.8
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#663DBC
secondary
#B5C98C
accent
#DA4DAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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