#6050D7#6050D7

#6050D7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.6% C 0.198 H 282.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6050D7
RGBrgb(96, 80, 215)
HSLhsl(247, 63%, 58%)
HSVhsv(247, 63%, 84%)
CMYKcmyk(55.3%, 62.8%, 0%, 15.7%)
CIE-LABlab(42.96, 43.04, -67.41)
CIE-LCHlch(42.96, 79.98, 302.56°)
OKLaboklab(52.63% 0.0431 -0.1936)
OKLCHoklch(52.63% 0.198 282.5)
XYZxyz(19.9545, 13.1292, 65.7595)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050D7 #C7D750
analogous
#5083D7 #6050D7 #A350D7
triadic
#6050D7 #D76050 #50D760
tetradic
#6050D7 #D75083 #C7D750 #50D7A3
square
#6050D7 #D75083 #C7D750 #50D7A3
split-complementary
#6050D7 #D7A350 #83D750
monochromatic
#2D208C #3D2BBE #6050D7 #8D82E2 #BBB4EE

Accessibility & contrast

On white

5.79
#6050D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6050D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050D7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050D7#FFFFFF#000000##FFFFFF
##6050D71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6050d7;
/* rgb */ color: rgb(96, 80, 215);
/* oklch */ color: oklch(52.6% 0.198 282.5);
Tailwind
colors: {
  custom: {
    50: '#9882e4',
    500: '#6050d7',
    950: '#000000',
  },
}
SCSS
$custom: #6050d7;
$custom-light: #9882e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6050d7",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 247.111,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.19837,
    "h": 282.5
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#6050D7
secondary
#D6DCA6
accent
#E642D2
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #6050D7

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

Preview Lab → · Contrast checker → · Palette generator →

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