#6A6CED#6A6CED

#6A6CED is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.8% C 0.190 H 278.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6A6CED
RGBrgb(106, 108, 237)
HSLhsl(239, 78%, 67%)
HSVhsv(239, 55%, 93%)
CMYKcmyk(55.3%, 54.4%, 0%, 7.1%)
CIE-LABlab(51.73, 35.08, -65.60)
CIE-LCHlch(51.73, 74.39, 298.14°)
OKLaboklab(59.78% 0.0274 -0.1879)
OKLCHoklch(59.78% 0.19 278.3)
XYZxyz(26.5876, 19.9019, 82.5448)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6CED #EDEB6A
analogous
#6AAEED #6A6CED #AA6AED
triadic
#6A6CED #ED6A6C #6CED6A
tetradic
#6A6CED #ED6AAE #EDEB6A #6AEDAA
square
#6A6CED #ED6AAE #EDEB6A #6AEDAA
split-complementary
#6A6CED #EDAA6A #AEED6A
monochromatic
#181AC5 #3336E6 #6A6CED #A1A2F4 #D7D8FA

Accessibility & contrast

On white

4.22
#6A6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6A6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6CED
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6CED#FFFFFF#000000##000000
##6A6CED1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#248AA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a6ced;
/* rgb */ color: rgb(106, 108, 237);
/* oklch */ color: oklch(59.8% 0.190 278.3);
Tailwind
colors: {
  custom: {
    50: '#9f96f4',
    500: '#6a6ced',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ced;
$custom-light: #9f96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ced",
  "rgb": {
    "r": 106,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 239.084,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.18986,
    "h": 278.3
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#6A6CED
secondary
#EEEDC5
accent
#D80BDB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6A6CED

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

Preview Lab → · Contrast checker → · Palette generator →

#6A6CED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva