#663FE8#663FE8

#663FE8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.237 H 285.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#663FE8
RGBrgb(102, 63, 232)
HSLhsl(254, 79%, 58%)
HSVhsv(254, 73%, 91%)
CMYKcmyk(56%, 72.8%, 0%, 9%)
CIE-LABlab(41.54, 58.13, -79.39)
CIE-LCHlch(41.54, 98.40, 306.21°)
OKLaboklab(52.18% 0.0626 -0.2286)
OKLCHoklch(52.18% 0.237 285.3)
XYZxyz(21.8181, 12.2047, 77.5344)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FE8 #C1E83F
analogous
#3F6CE8 #663FE8 #BA3FE8
triadic
#663FE8 #E8663F #3FE866
tetradic
#663FE8 #E83F6C #C1E83F #3FE8BA
square
#663FE8 #E83F6C #C1E83F #3FE8BA
split-complementary
#663FE8 #E8BA3F #6CE83F
monochromatic
#32129A #4319D1 #663FE8 #9276EF #BDACF5

Accessibility & contrast

On white

6.10
#663FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#663FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FE8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FE8#FFFFFF#000000##FFFFFF
##663FE81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067ED
Deuteranopia (green-blind)
#005DE5
Tritanopia (blue-blind)
#256E90
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #663fe8;
/* rgb */ color: rgb(102, 63, 232);
/* oklch */ color: oklch(52.2% 0.237 285.3);
Tailwind
colors: {
  custom: {
    50: '#9f78f1',
    500: '#663fe8',
    950: '#000000',
  },
}
SCSS
$custom: #663fe8;
$custom-light: #9f78f1;
$custom-dark: #000000;
JSON
{
  "hex": "#663fe8",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 232
  },
  "hsl": {
    "h": 253.846,
    "s": 78.605,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.23699,
    "h": 285.3
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#663FE8
secondary
#D4E3A0
accent
#F533C8
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #663FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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