#664BE2#664BE2

#664BE2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.217 H 284.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#664BE2
RGBrgb(102, 75, 226)
HSLhsl(251, 72%, 59%)
HSVhsv(251, 67%, 89%)
CMYKcmyk(54.9%, 66.8%, 0%, 11.4%)
CIE-LABlab(43.28, 50.16, -73.13)
CIE-LCHlch(43.28, 88.68, 304.45°)
OKLaboklab(53.26% 0.0542 -0.2103)
OKLCHoklch(53.26% 0.217 284.5)
XYZxyz(21.7189, 13.3467, 73.3685)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BE2 #C7E24B
analogous
#4B7CE2 #664BE2 #B14BE2
triadic
#664BE2 #E2664B #4BE266
tetradic
#664BE2 #E24B7C #C7E24B #4BE2B1
square
#664BE2 #E24B7C #C7E24B #4BE2B1
split-complementary
#664BE2 #E2B14B #7CE24B
monochromatic
#30199A #4021CF #664BE2 #9380EA #C0B4F3

Accessibility & contrast

On white

5.72
#664BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#664BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BE2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BE2#FFFFFF#000000##FFFFFF
##664BE21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#2C7290
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #664be2;
/* rgb */ color: rgb(102, 75, 226);
/* oklch */ color: oklch(53.3% 0.217 284.5);
Tailwind
colors: {
  custom: {
    50: '#9d7fec',
    500: '#664be2',
    950: '#000000',
  },
}
SCSS
$custom: #664be2;
$custom-light: #9d7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#664be2",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 250.728,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.21714,
    "h": 284.5
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#664BE2
secondary
#D7E2A7
accent
#EF39CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664BE2

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

Preview Lab → · Contrast checker → · Palette generator →

#664BE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva