#663CBF#663CBF

#663CBF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.193 H 292.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#663CBF
RGBrgb(102, 60, 191)
HSLhsl(259, 52%, 49%)
HSVhsv(259, 69%, 75%)
CMYKcmyk(46.6%, 68.6%, 0%, 25.1%)
CIE-LABlab(37.51, 48.25, -62.35)
CIE-LCHlch(37.51, 78.84, 307.73°)
OKLaboklab(48.25% 0.0734 -0.1786)
OKLCHoklch(48.25% 0.193 292.3)
XYZxyz(16.4967, 9.8175, 50.3059)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663CBF #95BF3C
analogous
#3C53BF #663CBF #A83CBF
triadic
#663CBF #BF663C #3CBF66
tetradic
#663CBF #BF3C53 #95BF3C #3CBFA8
square
#663CBF #BF3C53 #95BF3C #3CBFA8
split-complementary
#663CBF #BFA83C #53BF3C
monochromatic
#341F62 #4D2D90 #663CBF #8A68D0 #AE97DE

Accessibility & contrast

On white

7.09
#663CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #663CBF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663CBF#FFFFFF#000000##FFFFFF
##663CBF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#4B5D79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #663cbf;
/* rgb */ color: rgb(102, 60, 191);
/* oklch */ color: oklch(48.2% 0.193 292.3);
Tailwind
colors: {
  custom: {
    50: '#9975d3',
    500: '#663cbf',
    950: '#000000',
  },
}
SCSS
$custom: #663cbf;
$custom-light: #9975d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663cbf",
  "rgb": {
    "r": 102,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 259.237,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48245,
    "c": 0.19307,
    "h": 292.3
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#663CBF
secondary
#B6CA8D
accent
#DC4CAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #663CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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