#663BCB#663BCB

#663BCB is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.208 H 290.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#663BCB
RGBrgb(102, 59, 203)
HSLhsl(258, 58%, 51%)
HSVhsv(258, 71%, 80%)
CMYKcmyk(49.8%, 70.9%, 0%, 20.4%)
CIE-LABlab(38.31, 52.07, -68.05)
CIE-LCHlch(38.31, 85.68, 307.42°)
OKLaboklab(49.12% 0.0721 -0.1953)
OKLCHoklch(49.12% 0.208 290.3)
XYZxyz(17.8199, 10.2638, 57.5305)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BCB #A0CB3B
analogous
#3B58CB #663BCB #AE3BCB
triadic
#663BCB #CB663B #3BCB66
tetradic
#663BCB #CB3B58 #A0CB3B #3BCBAE
square
#663BCB #CB3B58 #A0CB3B #3BCBAE
split-complementary
#663BCB #CBAE3B #58CB3B
monochromatic
#351D6E #4D2A9F #663BCB #8C6BD8 #B29CE5

Accessibility & contrast

On white

6.88
#663BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#663BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BCB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BCB#FFFFFF#000000##FFFFFF
##663BCB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#43617F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663bcb;
/* rgb */ color: rgb(102, 59, 203);
/* oklch */ color: oklch(49.1% 0.208 290.3);
Tailwind
colors: {
  custom: {
    50: '#9b75dc',
    500: '#663bcb',
    950: '#000000',
  },
}
SCSS
$custom: #663bcb;
$custom-light: #9b75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#663bcb",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 257.917,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.20819,
    "h": 290.3
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#663BCB
secondary
#BED191
accent
#E147B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #663BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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