#6147E8#6147E8

#6147E8 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.229 H 282.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6147E8
RGBrgb(97, 71, 232)
HSLhsl(250, 78%, 59%)
HSVhsv(250, 69%, 91%)
CMYKcmyk(58.2%, 69.4%, 0%, 9%)
CIE-LABlab(42.57, 53.34, -77.72)
CIE-LCHlch(42.57, 94.26, 304.46°)
OKLaboklab(52.8% 0.0498 -0.2238)
OKLCHoklch(52.8% 0.229 282.6)
XYZxyz(21.7440, 12.8726, 77.6671)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147E8 #CEE847
analogous
#477EE8 #6147E8 #B147E8
triadic
#6147E8 #E86147 #47E861
tetradic
#6147E8 #E8477E #CEE847 #47E8B1
square
#6147E8 #E8477E #CEE847 #47E8B1
split-complementary
#6147E8 #E8B147 #7EE847
monochromatic
#2B14A1 #391BD7 #6147E8 #907DEF #BEB4F6

Accessibility & contrast

On white

5.87
#6147E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6147E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147E8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147E8#FFFFFF#000000##FFFFFF
##6147E81.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#037292
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6147e8;
/* rgb */ color: rgb(97, 71, 232);
/* oklch */ color: oklch(52.8% 0.229 282.6);
Tailwind
colors: {
  custom: {
    50: '#9b7df1',
    500: '#6147e8',
    950: '#000000',
  },
}
SCSS
$custom: #6147e8;
$custom-light: #9b7df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6147e8",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 249.689,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.528,
    "c": 0.22933,
    "h": 282.6
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#6147E8
secondary
#DBE5A6
accent
#F434D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6147E8

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

Preview Lab → · Contrast checker → · Palette generator →

#6147E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva