#6150CC#6150CC

#6150CC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.184 H 284.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6150CC
RGBrgb(97, 80, 204)
HSLhsl(248, 55%, 56%)
HSVhsv(248, 61%, 80%)
CMYKcmyk(52.5%, 60.8%, 0%, 20%)
CIE-LABlab(42.21, 39.86, -62.29)
CIE-LCHlch(42.21, 73.95, 302.62°)
OKLaboklab(51.85% 0.0451 -0.1786)
OKLCHoklch(51.85% 0.184 284.2)
XYZxyz(18.6942, 12.6373, 58.5692)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150CC #BBCC50
analogous
#507DCC #6150CC #9F50CC
triadic
#6150CC #CC6150 #50CC61
tetradic
#6150CC #CC507D #BBCC50 #50CC9F
square
#6150CC #CC507D #BBCC50 #50CC9F
split-complementary
#6150CC #CC9F50 #7DCC50
monochromatic
#31247D #4332AD #6150CC #8C7FDA #B7AFE8

Accessibility & contrast

On white

5.95
#6150CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6150CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150CC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150CC#FFFFFF#000000##FFFFFF
##6150CC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#356E86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6150cc;
/* rgb */ color: rgb(97, 80, 204);
/* oklch */ color: oklch(51.8% 0.184 284.2);
Tailwind
colors: {
  custom: {
    50: '#9782dc',
    500: '#6150cc',
    950: '#000000',
  },
}
SCSS
$custom: #6150cc;
$custom-light: #9782dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6150cc",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 248.226,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.18417,
    "h": 284.2
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#6150CC
secondary
#CFD6A2
accent
#DE4ACA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6150CC

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

Preview Lab → · Contrast checker → · Palette generator →

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