#663BE7#663BE7

#663BE7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.240 H 285.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#663BE7
RGBrgb(102, 59, 231)
HSLhsl(255, 78%, 57%)
HSVhsv(255, 74%, 91%)
CMYKcmyk(55.8%, 74.5%, 0%, 9.4%)
CIE-LABlab(40.77, 59.78, -80.09)
CIE-LCHlch(40.77, 99.94, 306.74°)
OKLaboklab(51.61% 0.0657 -0.2306)
OKLCHoklch(51.61% 0.24 285.9)
XYZxyz(21.4629, 11.7210, 76.7172)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663BE7 #BCE73B
analogous
#3B66E7 #663BE7 #BC3BE7
triadic
#663BE7 #E7663B #3BE766
tetradic
#663BE7 #E73B66 #BCE73B #3BE7BC
square
#663BE7 #E73B66 #BCE73B #3BE7BC
split-complementary
#663BE7 #E7BC3B #66E73B
monochromatic
#331295 #4619CC #663BE7 #9172EE #BBA8F4

Accessibility & contrast

On white

6.28
#663BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#663BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663BE7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663BE7#FFFFFF#000000##FFFFFF
##663BE71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EC
Deuteranopia (green-blind)
#005BE4
Tritanopia (blue-blind)
#276B8F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #663be7;
/* rgb */ color: rgb(102, 59, 231);
/* oklch */ color: oklch(51.6% 0.240 285.9);
Tailwind
colors: {
  custom: {
    50: '#9f76f0',
    500: '#663be7',
    950: '#000000',
  },
}
SCSS
$custom: #663be7;
$custom-light: #9f76f0;
$custom-dark: #000000;
JSON
{
  "hex": "#663be7",
  "rgb": {
    "r": 102,
    "g": 59,
    "b": 231
  },
  "hsl": {
    "h": 255,
    "s": 78.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.23977,
    "h": 285.9
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#663BE7
secondary
#D0E29C
accent
#F533C4
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #663BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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