#663EBF#663EBF

#663EBF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.191 H 292.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#663EBF
RGBrgb(102, 62, 191)
HSLhsl(259, 51%, 50%)
HSVhsv(259, 68%, 75%)
CMYKcmyk(46.6%, 67.5%, 0%, 25.1%)
CIE-LABlab(37.90, 47.19, -61.72)
CIE-LCHlch(37.90, 77.69, 307.40°)
OKLaboklab(48.52% 0.0714 -0.1767)
OKLCHoklch(48.52% 0.191 292)
XYZxyz(16.6035, 10.0311, 50.3415)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EBF #97BF3E
analogous
#3E56BF #663EBF #A73EBF
triadic
#663EBF #BF663E #3EBF66
tetradic
#663EBF #BF3E56 #97BF3E #3EBFA7
square
#663EBF #BF3E56 #97BF3E #3EBFA7
split-complementary
#663EBF #BFA73E #56BF3E
monochromatic
#352063 #4D2F91 #663EBF #8A6BCF #AF99DE

Accessibility & contrast

On white

6.99
#663EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#663EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EBF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EBF#FFFFFF#000000##FFFFFF
##663EBF1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#4B5E79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663ebf;
/* rgb */ color: rgb(102, 62, 191);
/* oklch */ color: oklch(48.5% 0.191 292.0);
Tailwind
colors: {
  custom: {
    50: '#9976d3',
    500: '#663ebf',
    950: '#000000',
  },
}
SCSS
$custom: #663ebf;
$custom-light: #9976d3;
$custom-dark: #000000;
JSON
{
  "hex": "#663ebf",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 258.605,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.19062,
    "h": 292
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#663EBF
secondary
#B8CA8F
accent
#DA4DAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #663EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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