#663FF2#663FF2

#663FF2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.248 H 284.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#663FF2
RGBrgb(102, 63, 242)
HSLhsl(253, 87%, 60%)
HSVhsv(253, 74%, 95%)
CMYKcmyk(57.9%, 74%, 0%, 5.1%)
CIE-LABlab(42.44, 60.92, -83.55)
CIE-LCHlch(42.44, 103.41, 306.10°)
OKLaboklab(53.09% 0.0603 -0.2407)
OKLCHoklch(53.09% 0.248 284.1)
XYZxyz(23.2791, 12.7891, 85.2290)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#663FF2 #CBF23F
analogous
#3F71F2 #663FF2 #C03FF2
triadic
#663FF2 #F2663F #3FF266
tetradic
#663FF2 #F23F71 #CBF23F #3FF2C0
square
#663FF2 #F23F71 #CBF23F #3FF2C0
split-complementary
#663FF2 #F2C03F #71F23F
monochromatic
#2E0CAB #3E0FE4 #663FF2 #9478F6 #C1B2FA

Accessibility & contrast

On white

5.90
#663FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#663FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #663FF2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##663FF2#FFFFFF#000000##FFFFFF
##663FF21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F7
Deuteranopia (green-blind)
#005EEF
Tritanopia (blue-blind)
#0E7296
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #663ff2;
/* rgb */ color: rgb(102, 63, 242);
/* oklch */ color: oklch(53.1% 0.248 284.1);
Tailwind
colors: {
  custom: {
    50: '#a079f8',
    500: '#663ff2',
    950: '#000000',
  },
}
SCSS
$custom: #663ff2;
$custom-light: #a079f8;
$custom-dark: #000000;
JSON
{
  "hex": "#663ff2",
  "rgb": {
    "r": 102,
    "g": 63,
    "b": 242
  },
  "hsl": {
    "h": 253.073,
    "s": 87.317,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.24818,
    "h": 284.1
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#663FF2
secondary
#DAE9A4
accent
#FD2ACF
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #663FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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