#6147E5#6147E5

#6147E5 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.5% C 0.226 H 282.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6147E5
RGBrgb(97, 71, 229)
HSLhsl(250, 75%, 59%)
HSVhsv(250, 69%, 90%)
CMYKcmyk(57.6%, 69%, 0%, 10.2%)
CIE-LABlab(42.31, 52.46, -76.44)
CIE-LCHlch(42.31, 92.70, 304.46°)
OKLaboklab(52.54% 0.0504 -0.2201)
OKLCHoklch(52.54% 0.226 282.9)
XYZxyz(21.3215, 12.7036, 75.4421)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147E5 #CBE547
analogous
#477CE5 #6147E5 #B047E5
triadic
#6147E5 #E56147 #47E561
tetradic
#6147E5 #E5477C #CBE547 #47E5B0
square
#6147E5 #E5477C #CBE547 #47E5B0
split-complementary
#6147E5 #E5B047 #7CE547
monochromatic
#2C169C #3B1ED1 #6147E5 #8F7DED #BDB2F4

Accessibility & contrast

On white

5.93
#6147E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6147E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147E5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147E5#FFFFFF#000000##FFFFFF
##6147E51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#107191
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6147e5;
/* rgb */ color: rgb(97, 71, 229);
/* oklch */ color: oklch(52.5% 0.226 282.9);
Tailwind
colors: {
  custom: {
    50: '#9b7dee',
    500: '#6147e5',
    950: '#000000',
  },
}
SCSS
$custom: #6147e5;
$custom-light: #9b7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6147e5",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 249.873,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.2258,
    "h": 282.9
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#6147E5
secondary
#D9E3A5
accent
#F236D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6147E5

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

Preview Lab → · Contrast checker → · Palette generator →

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