#663BC4#663BC4

#663BC4 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.200 H 291.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#663BC4
RGBrgb(102, 59, 196)
HSLhsl(259, 54%, 50%)
HSVhsv(259, 70%, 77%)
CMYKcmyk(48%, 69.9%, 0%, 23.1%)
CIE-LABlab(37.73, 50.14, -64.92)
CIE-LCHlch(37.73, 82.03, 307.68°)
OKLaboklab(48.53% 0.0734 -0.1861)
OKLCHoklch(48.53% 0.2 291.5)
XYZxyz(17.0045, 9.9376, 53.2360)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BC4 #99C43B
analogous
#3B55C4 #663BC4 #AA3BC4
triadic
#663BC4 #C4663B #3BC466
tetradic
#663BC4 #C43B55 #99C43B #3BC4AA
square
#663BC4 #C43B55 #99C43B #3BC4AA
split-complementary
#663BC4 #C4AA3B #55C43B
monochromatic
#351F66 #4E2D95 #663BC4 #8B6AD2 #AF99E0

Accessibility & contrast

On white

7.03
#663BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#663BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #663BC4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BC4#FFFFFF#000000##FFFFFF
##663BC41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#485E7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #663bc4;
/* rgb */ color: rgb(102, 59, 196);
/* oklch */ color: oklch(48.5% 0.200 291.5);
Tailwind
colors: {
  custom: {
    50: '#9a74d7',
    500: '#663bc4',
    950: '#000000',
  },
}
SCSS
$custom: #663bc4;
$custom-light: #9a74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#663bc4",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 258.832,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.20009,
    "h": 291.5
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#663BC4
secondary
#B9CC8F
accent
#DD4BAF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #663BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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