#6658F6#6658F6

#6658F6 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.9% C 0.226 H 280.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6658F6
RGBrgb(102, 88, 246)
HSLhsl(245, 90%, 65%)
HSVhsv(245, 64%, 96%)
CMYKcmyk(58.5%, 64.2%, 0%, 3.5%)
CIE-LABlab(47.57, 48.90, -77.40)
CIE-LCHlch(47.57, 91.55, 302.28°)
OKLaboklab(56.85% 0.0408 -0.2228)
OKLCHoklch(56.85% 0.226 280.4)
XYZxyz(25.5985, 16.4562, 88.9984)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658F6 #E8F658
analogous
#5899F6 #6658F6 #B558F6
triadic
#6658F6 #F66658 #58F666
tetradic
#6658F6 #F65899 #E8F658 #58F6B5
square
#6658F6 #F65899 #E8F658 #58F6B5
split-complementary
#6658F6 #F6B558 #99F658
monochromatic
#1C0BC9 #311EF3 #6658F6 #9B92F9 #D0CCFC

Accessibility & contrast

On white

4.89
#6658F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6658F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658F6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658F6#FFFFFF#000000##FFFFFF
##6658F61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006BF3
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6658f6;
/* rgb */ color: rgb(102, 88, 246);
/* oklch */ color: oklch(56.9% 0.226 280.4);
Tailwind
colors: {
  custom: {
    50: '#9f88fa',
    500: '#6658f6',
    950: '#000000',
  },
}
SCSS
$custom: #6658f6;
$custom-light: #9f88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6658f6",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 246
  },
  "hsl": {
    "h": 245.316,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.22649,
    "h": 280.4
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#6658F6
secondary
#EBEFBA
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6658F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6658F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva