#663DFF#663DFF

#663DFF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.1% C 0.264 H 282.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#663DFF
RGBrgb(102, 61, 255)
HSLhsl(253, 100%, 62%)
HSVhsv(253, 76%, 100%)
CMYKcmyk(60%, 76.1%, 0%, 0%)
CIE-LABlab(43.33, 65.44, -89.38)
CIE-LCHlch(43.33, 110.78, 306.21°)
OKLaboklab(54.07% 0.0583 -0.2577)
OKLCHoklch(54.07% 0.264 282.7)
XYZxyz(25.1926, 13.3805, 95.8435)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663DFF #D6FF3D
analogous
#3D75FF #663DFF #C73DFF
triadic
#663DFF #FF663D #3DFF66
tetradic
#663DFF #FF3D75 #D6FF3D #3DFFC7
square
#663DFF #FF3D75 #D6FF3D #3DFFC7
split-complementary
#663DFF #FFC73D #75FF3D
monochromatic
#2900C2 #3600FF #663DFF #967AFF #C7B7FF

Accessibility & contrast

On white

5.71
#663DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#663DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663DFF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663DFF#FFFFFF#000000##FFFFFF
##663DFF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0060FC
Tritanopia (blue-blind)
#00769D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #663dff;
/* rgb */ color: rgb(102, 61, 255);
/* oklch */ color: oklch(54.1% 0.264 282.7);
Tailwind
colors: {
  custom: {
    50: '#a278ff',
    500: '#663dff',
    950: '#000000',
  },
}
SCSS
$custom: #663dff;
$custom-light: #a278ff;
$custom-dark: #000000;
JSON
{
  "hex": "#663dff",
  "rgb": {
    "r": 102,
    "g": 61,
    "b": 255
  },
  "hsl": {
    "h": 252.68,
    "s": 100,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.26425,
    "h": 282.7
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#663DFF
secondary
#E1F0A8
accent
#E600B5
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110918
muted
#807B86

Preview Lab

Preview with #663DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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