#6152CD#6152CD

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

Color values

HEX#6152CD
RGBrgb(97, 82, 205)
HSLhsl(247, 55%, 56%)
HSVhsv(247, 60%, 80%)
CMYKcmyk(52.7%, 60%, 0%, 19.6%)
CIE-LABlab(42.74, 38.99, -62.01)
CIE-LCHlch(42.74, 73.25, 302.16°)
OKLaboklab(52.26% 0.043 -0.1777)
OKLCHoklch(52.26% 0.183 283.6)
XYZxyz(18.9632, 12.9827, 59.2525)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152CD #BECD52
analogous
#5281CD #6152CD #9F52CD
triadic
#6152CD #CD6152 #52CD61
tetradic
#6152CD #CD5281 #BECD52 #52CD9F
square
#6152CD #CD5281 #BECD52 #52CD9F
split-complementary
#6152CD #CD9F52 #81CD52
monochromatic
#302580 #4233AF #6152CD #8C81DB #B8B1E8

Accessibility & contrast

On white

5.84
#6152CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6152CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152CD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152CD#FFFFFF#000000##FFFFFF
##6152CD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#346F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6152cd;
/* rgb */ color: rgb(97, 82, 205);
/* oklch */ color: oklch(52.3% 0.183 283.6);
Tailwind
colors: {
  custom: {
    50: '#9783dd',
    500: '#6152cd',
    950: '#000000',
  },
}
SCSS
$custom: #6152cd;
$custom-light: #9783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6152cd",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 247.317,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.18288,
    "h": 283.6
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6152CD

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

Preview Lab → · Contrast checker → · Palette generator →

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