#6658F5#6658F5

#6658F5 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.8% C 0.225 H 280.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6658F5
RGBrgb(102, 88, 245)
HSLhsl(245, 89%, 65%)
HSVhsv(245, 64%, 96%)
CMYKcmyk(58.4%, 64.1%, 0%, 3.9%)
CIE-LABlab(47.49, 48.59, -76.97)
CIE-LCHlch(47.49, 91.03, 302.27°)
OKLaboklab(56.77% 0.0409 -0.2215)
OKLCHoklch(56.77% 0.225 280.5)
XYZxyz(25.4455, 16.3950, 88.1922)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658F5 #E7F558
analogous
#5899F5 #6658F5 #B458F5
triadic
#6658F5 #F56658 #58F566
tetradic
#6658F5 #F55899 #E7F558 #58F5B4
square
#6658F5 #F55899 #E7F558 #58F5B4
split-complementary
#6658F5 #F5B458 #99F558
monochromatic
#1D0CC7 #311EF2 #6658F5 #9B92F8 #D0CBFC

Accessibility & contrast

On white

4.91
#6658F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6658F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658F5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658F5#FFFFFF#000000##FFFFFF
##6658F51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6658f5;
/* rgb */ color: rgb(102, 88, 245);
/* oklch */ color: oklch(56.8% 0.225 280.5);
Tailwind
colors: {
  custom: {
    50: '#9f88fa',
    500: '#6658f5',
    950: '#000000',
  },
}
SCSS
$custom: #6658f5;
$custom-light: #9f88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6658f5",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 245.35,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.22526,
    "h": 280.5
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#6658F5
secondary
#EAEFBA
accent
#E500D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6658F5

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

Preview Lab → · Contrast checker → · Palette generator →

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