#6647EA#6647EA

#6647EA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.231 H 284.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6647EA
RGBrgb(102, 71, 234)
HSLhsl(251, 80%, 60%)
HSVhsv(251, 70%, 92%)
CMYKcmyk(56.4%, 69.7%, 0%, 8.2%)
CIE-LABlab(43.17, 54.63, -77.85)
CIE-LCHlch(43.17, 95.11, 305.06°)
OKLaboklab(53.38% 0.0562 -0.2241)
OKLCHoklch(53.38% 0.231 284.1)
XYZxyz(22.5795, 13.2704, 79.1976)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647EA #CBEA47
analogous
#477AEA #6647EA #B747EA
triadic
#6647EA #EA6647 #47EA66
tetradic
#6647EA #EA477A #CBEA47 #47EAB7
square
#6647EA #EA477A #CBEA47 #47EAB7
split-complementary
#6647EA #EAB747 #7AEA47
monochromatic
#2E13A4 #3E19DB #6647EA #947EF0 #C1B5F7

Accessibility & contrast

On white

5.75
#6647EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6647EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647EA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647EA#FFFFFF#000000##FFFFFF
##6647EA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#217294
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6647ea;
/* rgb */ color: rgb(102, 71, 234);
/* oklch */ color: oklch(53.4% 0.231 284.1);
Tailwind
colors: {
  custom: {
    50: '#9e7df2',
    500: '#6647ea',
    950: '#000000',
  },
}
SCSS
$custom: #6647ea;
$custom-light: #9e7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6647ea",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 251.411,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.23104,
    "h": 284.1
  },
  "luminance": 0.13272
}

Semantic roles & 50–950 ramp

primary
#6647EA
secondary
#DAE6A7
accent
#F632D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6647EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6647EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva