#6147E6#6147E6

#6147E6 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.227 H 282.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6147E6
RGBrgb(97, 71, 230)
HSLhsl(250, 76%, 59%)
HSVhsv(250, 69%, 90%)
CMYKcmyk(57.8%, 69.1%, 0%, 9.8%)
CIE-LABlab(42.40, 52.75, -76.86)
CIE-LCHlch(42.40, 93.22, 304.46°)
OKLaboklab(52.63% 0.0502 -0.2214)
OKLCHoklch(52.63% 0.227 282.8)
XYZxyz(21.4615, 12.7596, 76.1795)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6147E6 #CCE647
analogous
#477DE6 #6147E6 #B147E6
triadic
#6147E6 #E66147 #47E661
tetradic
#6147E6 #E6477D #CCE647 #47E6B1
square
#6147E6 #E6477D #CCE647 #47E6B1
split-complementary
#6147E6 #E6B147 #7DE647
monochromatic
#2C159D #3B1DD3 #6147E6 #8F7DED #BEB3F5

Accessibility & contrast

On white

5.91
#6147E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6147E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6147E6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6147E6#FFFFFF#000000##FFFFFF
##6147E61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#0C7191
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6147e6;
/* rgb */ color: rgb(97, 71, 230);
/* oklch */ color: oklch(52.6% 0.227 282.8);
Tailwind
colors: {
  custom: {
    50: '#9b7def',
    500: '#6147e6',
    950: '#000000',
  },
}
SCSS
$custom: #6147e6;
$custom-light: #9b7def;
$custom-dark: #000000;
JSON
{
  "hex": "#6147e6",
  "rgb": {
    "r": 97,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 249.811,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.22698,
    "h": 282.8
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#6147E6
secondary
#D9E4A5
accent
#F335D4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #6147E6

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

Preview Lab → · Contrast checker → · Palette generator →

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