#6152CE#6152CE

#6152CE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.184 H 283.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6152CE
RGBrgb(97, 82, 206)
HSLhsl(247, 56%, 56%)
HSVhsv(247, 60%, 81%)
CMYKcmyk(52.9%, 60.2%, 0%, 19.2%)
CIE-LABlab(42.81, 39.29, -62.47)
CIE-LCHlch(42.81, 73.80, 302.17°)
OKLaboklab(52.33% 0.043 -0.1791)
OKLCHoklch(52.33% 0.184 283.5)
XYZxyz(19.0843, 13.0311, 59.8902)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152CE #BFCE52
analogous
#5281CE #6152CE #9F52CE
triadic
#6152CE #CE6152 #52CE61
tetradic
#6152CE #CE5281 #BFCE52 #52CE9F
square
#6152CE #CE5281 #BFCE52 #52CE9F
split-complementary
#6152CE #CE9F52 #81CE52
monochromatic
#302581 #4132B1 #6152CE #8D82DC #B8B1E9

Accessibility & contrast

On white

5.82
#6152CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6152CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152CE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152CE#FFFFFF#000000##FFFFFF
##6152CE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#336F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6152ce;
/* rgb */ color: rgb(97, 82, 206);
/* oklch */ color: oklch(52.3% 0.184 283.5);
Tailwind
colors: {
  custom: {
    50: '#9783de',
    500: '#6152ce',
    950: '#000000',
  },
}
SCSS
$custom: #6152ce;
$custom-light: #9783de;
$custom-dark: #000000;
JSON
{
  "hex": "#6152ce",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 247.258,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.18418,
    "h": 283.5
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#6152CE
secondary
#D1D7A4
accent
#DF49CD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6152CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6152CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva