#664BE3#664BE3

#664BE3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.218 H 284.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#664BE3
RGBrgb(102, 75, 227)
HSLhsl(251, 73%, 59%)
HSVhsv(251, 67%, 89%)
CMYKcmyk(55.1%, 67%, 0%, 11%)
CIE-LABlab(43.36, 50.45, -73.57)
CIE-LCHlch(43.36, 89.21, 304.44°)
OKLaboklab(53.34% 0.054 -0.2115)
OKLCHoklch(53.34% 0.218 284.3)
XYZxyz(21.8565, 13.4017, 74.0932)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BE3 #C8E34B
analogous
#4B7CE3 #664BE3 #B24BE3
triadic
#664BE3 #E3664B #4BE366
tetradic
#664BE3 #E34B7C #C8E34B #4BE3B2
square
#664BE3 #E34B7C #C8E34B #4BE3B2
split-complementary
#664BE3 #E3B24B #7CE34B
monochromatic
#2F189B #4020D0 #664BE3 #9380EB #C0B5F3

Accessibility & contrast

On white

5.71
#664BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#664BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BE3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BE3#FFFFFF#000000##FFFFFF
##664BE31.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)
#006BE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#2B7291
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #664be3;
/* rgb */ color: rgb(102, 75, 227);
/* oklch */ color: oklch(53.3% 0.218 284.3);
Tailwind
colors: {
  custom: {
    50: '#9d7fed',
    500: '#664be3',
    950: '#000000',
  },
}
SCSS
$custom: #664be3;
$custom-light: #9d7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#664be3",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 250.658,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.21834,
    "h": 284.3
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#664BE3
secondary
#D8E3A7
accent
#F038CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #664BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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