#6150E4#6150E4

#6150E4 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.214 H 281.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6150E4
RGBrgb(97, 80, 228)
HSLhsl(247, 73%, 60%)
HSVhsv(247, 65%, 89%)
CMYKcmyk(57.5%, 64.9%, 0%, 10.6%)
CIE-LABlab(44.06, 47.18, -73.01)
CIE-LCHlch(44.06, 86.93, 302.87°)
OKLaboklab(53.77% 0.0431 -0.2101)
OKLCHoklch(53.77% 0.214 281.6)
XYZxyz(21.7977, 13.8787, 74.9140)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150E4 #D3E450
analogous
#5089E4 #6150E4 #AB50E4
triadic
#6150E4 #E46150 #50E461
tetradic
#6150E4 #E45089 #D3E450 #50E4AB
square
#6150E4 #E45089 #D3E450 #50E4AB
split-complementary
#6150E4 #E4AB50 #89E450
monochromatic
#2819A1 #3621D6 #6150E4 #9185EC #C1BAF4

Accessibility & contrast

On white

5.56
#6150E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6150E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150E4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150E4#FFFFFF#000000##FFFFFF
##6150E41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#107693
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6150e4;
/* rgb */ color: rgb(97, 80, 228);
/* oklch */ color: oklch(53.8% 0.214 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a82ee',
    500: '#6150e4',
    950: '#000000',
  },
}
SCSS
$custom: #6150e4;
$custom-light: #9a82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6150e4",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 246.892,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.21445,
    "h": 281.6
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#6150E4
secondary
#DEE4AC
accent
#D510BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6150E4

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

Preview Lab → · Contrast checker → · Palette generator →

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