#6A58FB#6A58FB

#6A58FB is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.6% C 0.232 H 281.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6A58FB
RGBrgb(106, 88, 251)
HSLhsl(247, 95%, 66%)
HSVhsv(247, 65%, 98%)
CMYKcmyk(57.8%, 64.9%, 0%, 1.6%)
CIE-LABlab(48.27, 51.02, -79.03)
CIE-LCHlch(48.27, 94.07, 302.84°)
OKLaboklab(57.56% 0.0452 -0.2275)
OKLCHoklch(57.56% 0.232 281.2)
XYZxyz(26.8407, 17.0068, 93.1163)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A58FB #E9FB58
analogous
#5898FB #6A58FB #BC58FB
triadic
#6A58FB #FB6A58 #58FB6A
tetradic
#6A58FB #FB5898 #E9FB58 #58FBBC
square
#6A58FB #FB5898 #E9FB58 #58FBBC
split-complementary
#6A58FB #FBBC58 #98FB58
monochromatic
#1C05D4 #351CFA #6A58FB #9F94FC #D5D0FE

Accessibility & contrast

On white

4.77
#6A58FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6A58FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A58FB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A58FB#FFFFFF#000000##FFFFFF
##6A58FB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006DF8
Tritanopia (blue-blind)
#0382A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a58fb;
/* rgb */ color: rgb(106, 88, 251);
/* oklch */ color: oklch(57.6% 0.232 281.2);
Tailwind
colors: {
  custom: {
    50: '#a288fe',
    500: '#6a58fb',
    950: '#000000',
  },
}
SCSS
$custom: #6a58fb;
$custom-light: #a288fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a58fb",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 246.626,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57561,
    "c": 0.23191,
    "h": 281.2
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#6A58FB
secondary
#ECF2BD
accent
#E600CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6A58FB

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

Preview Lab → · Contrast checker → · Palette generator →

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