#6658FA#6658FA

#6658FA is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.2% C 0.231 H 280.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6658FA
RGBrgb(102, 88, 250)
HSLhsl(245, 94%, 66%)
HSVhsv(245, 65%, 98%)
CMYKcmyk(59.2%, 64.8%, 0%, 2%)
CIE-LABlab(47.89, 50.12, -79.11)
CIE-LCHlch(47.89, 93.65, 302.35°)
OKLaboklab(57.18% 0.0403 -0.2278)
OKLCHoklch(57.18% 0.231 280)
XYZxyz(26.2191, 16.7045, 92.2666)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658FA #ECFA58
analogous
#589BFA #6658FA #B758FA
triadic
#6658FA #FA6658 #58FA66
tetradic
#6658FA #FA589B #ECFA58 #58FAB7
square
#6658FA #FA589B #ECFA58 #58FAB7
split-complementary
#6658FA #FAB758 #9BFA58
monochromatic
#1806D1 #301DF8 #6658FA #9C93FC #D3CFFE

Accessibility & contrast

On white

4.84
#6658FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6658FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658FA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658FA#FFFFFF#000000##FFFFFF
##6658FA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006BF7
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6658fa;
/* rgb */ color: rgb(102, 88, 250);
/* oklch */ color: oklch(57.2% 0.231 280.0);
Tailwind
colors: {
  custom: {
    50: '#a088fd',
    500: '#6658fa',
    950: '#000000',
  },
}
SCSS
$custom: #6658fa;
$custom-light: #a088fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6658fa",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 245.185,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.23136,
    "h": 280
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#6658FA
secondary
#EDF1BC
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6658FA

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

Preview Lab → · Contrast checker → · Palette generator →

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