#6150D8#6150D8

#6150D8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.8% C 0.199 H 282.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6150D8
RGBrgb(97, 80, 216)
HSLhsl(248, 64%, 58%)
HSVhsv(248, 63%, 85%)
CMYKcmyk(55.1%, 63%, 0%, 15.3%)
CIE-LABlab(43.12, 43.52, -67.72)
CIE-LCHlch(43.12, 80.50, 302.73°)
OKLaboklab(52.79% 0.0443 -0.1945)
OKLCHoklch(52.79% 0.199 282.8)
XYZxyz(20.1893, 13.2353, 66.4433)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150D8 #C7D850
analogous
#5083D8 #6150D8 #A550D8
triadic
#6150D8 #D86150 #50D861
tetradic
#6150D8 #D85083 #C7D850 #50D8A5
square
#6150D8 #D85083 #C7D850 #50D8A5
split-complementary
#6150D8 #D8A550 #83D850
monochromatic
#2D208E #3D2BC0 #6150D8 #8E82E3 #BBB4EE

Accessibility & contrast

On white

5.76
#6150D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6150D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150D8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150D8#FFFFFF#000000##FFFFFF
##6150D81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#28718D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6150d8;
/* rgb */ color: rgb(97, 80, 216);
/* oklch */ color: oklch(52.8% 0.199 282.8);
Tailwind
colors: {
  custom: {
    50: '#9882e5',
    500: '#6150d8',
    950: '#000000',
  },
}
SCSS
$custom: #6150d8;
$custom-light: #9882e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6150d8",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 247.5,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.19949,
    "h": 282.8
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#6150D8
secondary
#D6DDA7
accent
#E741D2
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6150D8

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

Preview Lab → · Contrast checker → · Palette generator →

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