#663FBF#663FBF

#663FBF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.189 H 291.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#663FBF
RGBrgb(102, 63, 191)
HSLhsl(258, 50%, 50%)
HSVhsv(258, 67%, 75%)
CMYKcmyk(46.6%, 67%, 0%, 25.1%)
CIE-LABlab(38.09, 46.65, -61.40)
CIE-LCHlch(38.09, 77.11, 307.22°)
OKLaboklab(48.66% 0.0704 -0.1758)
OKLCHoklch(48.66% 0.189 291.8)
XYZxyz(16.6583, 10.1408, 50.3598)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FBF #98BF3F
analogous
#3F58BF #663FBF #A63FBF
triadic
#663FBF #BF663F #3FBF66
tetradic
#663FBF #BF3F58 #98BF3F #3FBFA6
square
#663FBF #BF3F58 #98BF3F #3FBFA6
split-complementary
#663FBF #BFA63F #58BF3F
monochromatic
#352163 #4D3091 #663FBF #8A6DCF #AF9BDE

Accessibility & contrast

On white

6.93
#663FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#663FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FBF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FBF#FFFFFF#000000##FFFFFF
##663FBF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#4B5E7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #663fbf;
/* rgb */ color: rgb(102, 63, 191);
/* oklch */ color: oklch(48.7% 0.189 291.8);
Tailwind
colors: {
  custom: {
    50: '#9977d3',
    500: '#663fbf',
    950: '#000000',
  },
}
SCSS
$custom: #663fbf;
$custom-light: #9977d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663fbf",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 258.281,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.18937,
    "h": 291.8
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#663FBF
secondary
#B8CA90
accent
#DA4EAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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