#6150C8#6150C8

#6150C8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.179 H 284.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6150C8
RGBrgb(97, 80, 200)
HSLhsl(249, 52%, 55%)
HSVhsv(249, 60%, 78%)
CMYKcmyk(51.5%, 60%, 0%, 21.6%)
CIE-LABlab(41.92, 38.65, -60.45)
CIE-LCHlch(41.92, 71.75, 302.59°)
OKLaboklab(51.54% 0.0453 -0.1732)
OKLCHoklch(51.54% 0.179 284.7)
XYZxyz(18.2206, 12.4479, 56.0750)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150C8 #B7C850
analogous
#507BC8 #6150C8 #9D50C8
triadic
#6150C8 #C86150 #50C861
tetradic
#6150C8 #C8507B #B7C850 #50C89D
square
#6150C8 #C8507B #B7C850 #50C89D
split-complementary
#6150C8 #C89D50 #7BC850
monochromatic
#312678 #4434A6 #6150C8 #8B7FD7 #B5ADE5

Accessibility & contrast

On white

6.02
#6150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6150C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150C8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150C8#FFFFFF#000000##FFFFFF
##6150C81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#396C84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6150c8;
/* rgb */ color: rgb(97, 80, 200);
/* oklch */ color: oklch(51.5% 0.179 284.7);
Tailwind
colors: {
  custom: {
    50: '#9682da',
    500: '#6150c8',
    950: '#000000',
  },
}
SCSS
$custom: #6150c8;
$custom-light: #9682da;
$custom-dark: #000000;
JSON
{
  "hex": "#6150c8",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 248.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.17899,
    "h": 284.7
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#6150C8
secondary
#CCD3A1
accent
#DC4CC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6150C8

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

Preview Lab → · Contrast checker → · Palette generator →

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