#6150CD#6150CD

#6150CD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.185 H 284.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6150CD
RGBrgb(97, 80, 205)
HSLhsl(248, 56%, 56%)
HSVhsv(248, 61%, 80%)
CMYKcmyk(52.7%, 61%, 0%, 19.6%)
CIE-LABlab(42.29, 40.17, -62.75)
CIE-LCHlch(42.29, 74.50, 302.63°)
OKLaboklab(51.92% 0.0451 -0.1799)
OKLCHoklch(51.92% 0.185 284.1)
XYZxyz(18.8145, 12.6854, 59.2029)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6150CD #BCCD50
analogous
#507DCD #6150CD #9F50CD
triadic
#6150CD #CD6150 #50CD61
tetradic
#6150CD #CD507D #BCCD50 #50CD9F
square
#6150CD #CD507D #BCCD50 #50CD9F
split-complementary
#6150CD #CD9F50 #7DCD50
monochromatic
#30247E #4332AE #6150CD #8C80DB #B7AFE8

Accessibility & contrast

On white

5.94
#6150CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6150CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6150CD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6150CD#FFFFFF#000000##FFFFFF
##6150CD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#346E87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6150cd;
/* rgb */ color: rgb(97, 80, 205);
/* oklch */ color: oklch(51.9% 0.185 284.1);
Tailwind
colors: {
  custom: {
    50: '#9782dd',
    500: '#6150cd',
    950: '#000000',
  },
}
SCSS
$custom: #6150cd;
$custom-light: #9782dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6150cd",
  "rgb": {
    "r": 97,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 248.16,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.18547,
    "h": 284.1
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6150CD

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

Preview Lab → · Contrast checker → · Palette generator →

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