#663EFC#663EFC

#663EFC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.9% C 0.260 H 283.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#663EFC
RGBrgb(102, 62, 252)
HSLhsl(253, 97%, 62%)
HSVhsv(253, 75%, 99%)
CMYKcmyk(59.5%, 75.4%, 0%, 1.2%)
CIE-LABlab(43.21, 64.16, -87.91)
CIE-LCHlch(43.21, 108.83, 306.12°)
OKLaboklab(53.9% 0.0584 -0.2535)
OKLCHoklch(53.9% 0.26 283)
XYZxyz(24.7674, 13.2966, 93.3380)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663EFC #D4FC3E
analogous
#3E75FC #663EFC #C53EFC
triadic
#663EFC #FC663E #3EFC66
tetradic
#663EFC #FC3E75 #D4FC3E #3EFCC5
square
#663EFC #FC3E75 #D4FC3E #3EFCC5
split-complementary
#663EFC #FCC53E #75FC3E
monochromatic
#2A03BD #3704F9 #663EFC #967AFD #C6B7FE

Accessibility & contrast

On white

5.74
#663EFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#663EFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663EFC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663EFC#FFFFFF#000000##FFFFFF
##663EFC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0060F9
Tritanopia (blue-blind)
#00759B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #663efc;
/* rgb */ color: rgb(102, 62, 252);
/* oklch */ color: oklch(53.9% 0.260 283.0);
Tailwind
colors: {
  custom: {
    50: '#a278ff',
    500: '#663efc',
    950: '#000000',
  },
}
SCSS
$custom: #663efc;
$custom-light: #a278ff;
$custom-dark: #000000;
JSON
{
  "hex": "#663efc",
  "rgb": {
    "r": 102,
    "g": 62,
    "b": 252
  },
  "hsl": {
    "h": 252.632,
    "s": 96.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.26011,
    "h": 283
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#663EFC
secondary
#DFEEA8
accent
#E600B5
background
#FAF7FF
surface
#F5EEFF
border
#CFC9D7
text
#110918
muted
#807B86

Preview Lab

Preview with #663EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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