#6147E4#6147E4

#6147E4 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.4% C 0.225 H 283.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6147E4
RGBrgb(97, 71, 228)
HSLhsl(250, 74%, 59%)
HSVhsv(250, 69%, 89%)
CMYKcmyk(57.5%, 68.9%, 0%, 10.6%)
CIE-LABlab(42.23, 52.16, -76.01)
CIE-LCHlch(42.23, 92.18, 304.46°)
OKLaboklab(52.45% 0.0505 -0.2188)
OKLCHoklch(52.45% 0.225 283)
XYZxyz(21.1823, 12.6479, 74.7088)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147E4 #CAE447
analogous
#477BE4 #6147E4 #AF47E4
triadic
#6147E4 #E46147 #47E461
tetradic
#6147E4 #E4477B #CAE447 #47E4AF
square
#6147E4 #E4477B #CAE447 #47E4AF
split-complementary
#6147E4 #E4AF47 #7BE447
monochromatic
#2C179A #3C1ECF #6147E4 #8F7CEC #BDB2F4

Accessibility & contrast

On white

5.95
#6147E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6147E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147E4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147E4#FFFFFF#000000##FFFFFF
##6147E41.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#137190
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6147e4;
/* rgb */ color: rgb(97, 71, 228);
/* oklch */ color: oklch(52.4% 0.225 283.0);
Tailwind
colors: {
  custom: {
    50: '#9b7cee',
    500: '#6147e4',
    950: '#000000',
  },
}
SCSS
$custom: #6147e4;
$custom-light: #9b7cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6147e4",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 249.936,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.22461,
    "h": 283
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#6147E4
secondary
#D8E2A4
accent
#F137D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6147E4

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

Preview Lab → · Contrast checker → · Palette generator →

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