#6150CA#6150CA

#6150CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.7% C 0.182 H 284.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6150CA
RGBrgb(97, 80, 202)
HSLhsl(248, 54%, 55%)
HSVhsv(248, 60%, 79%)
CMYKcmyk(52%, 60.4%, 0%, 20.8%)
CIE-LABlab(42.06, 39.26, -61.37)
CIE-LCHlch(42.06, 72.85, 302.60°)
OKLaboklab(51.69% 0.0452 -0.1759)
OKLCHoklch(51.69% 0.182 284.4)
XYZxyz(18.4559, 12.5420, 57.3140)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150CA #B9CA50
analogous
#507CCA #6150CA #9E50CA
triadic
#6150CA #CA6150 #50CA61
tetradic
#6150CA #CA507C #B9CA50 #50CA9E
square
#6150CA #CA507C #B9CA50 #50CA9E
split-complementary
#6150CA #CA9E50 #7CCA50
monochromatic
#31257A #4433A9 #6150CA #8B7FD8 #B6AEE6

Accessibility & contrast

On white

5.99
#6150CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6150CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150CA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150CA#FFFFFF#000000##FFFFFF
##6150CA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#376D85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6150ca;
/* rgb */ color: rgb(97, 80, 202);
/* oklch */ color: oklch(51.7% 0.182 284.4);
Tailwind
colors: {
  custom: {
    50: '#9682db',
    500: '#6150ca',
    950: '#000000',
  },
}
SCSS
$custom: #6150ca;
$custom-light: #9682db;
$custom-dark: #000000;
JSON
{
  "hex": "#6150ca",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 248.361,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.18159,
    "h": 284.4
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#6150CA
secondary
#CDD4A1
accent
#DD4BC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6150CA

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

Preview Lab → · Contrast checker → · Palette generator →

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