#6150D7#6150D7

#6150D7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.7% C 0.198 H 282.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6150D7
RGBrgb(97, 80, 215)
HSLhsl(248, 63%, 58%)
HSVhsv(248, 63%, 84%)
CMYKcmyk(54.9%, 62.8%, 0%, 15.7%)
CIE-LABlab(43.04, 43.22, -67.27)
CIE-LCHlch(43.04, 79.95, 302.72°)
OKLaboklab(52.71% 0.0444 -0.1932)
OKLCHoklch(52.71% 0.198 282.9)
XYZxyz(20.0604, 13.1838, 65.7645)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150D7 #C6D750
analogous
#5082D7 #6150D7 #A550D7
triadic
#6150D7 #D76150 #50D761
tetradic
#6150D7 #D75082 #C6D750 #50D7A5
square
#6150D7 #D75082 #C6D750 #50D7A5
split-complementary
#6150D7 #D7A550 #82D750
monochromatic
#2E208C #3E2BBE #6150D7 #8E82E2 #BBB4EE

Accessibility & contrast

On white

5.77
#6150D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6150D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150D7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150D7#FFFFFF#000000##FFFFFF
##6150D71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#29718C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6150d7;
/* rgb */ color: rgb(97, 80, 215);
/* oklch */ color: oklch(52.7% 0.198 282.9);
Tailwind
colors: {
  custom: {
    50: '#9882e4',
    500: '#6150d7',
    950: '#000000',
  },
}
SCSS
$custom: #6150d7;
$custom-light: #9882e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6150d7",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 247.556,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5271,
    "c": 0.19823,
    "h": 282.9
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#6150D7
secondary
#D6DCA6
accent
#E642D1
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6150D7

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

Preview Lab → · Contrast checker → · Palette generator →

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