#6152C8#6152C8

#6152C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.176 H 284.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6152C8
RGBrgb(97, 82, 200)
HSLhsl(248, 52%, 55%)
HSVhsv(248, 59%, 78%)
CMYKcmyk(51.5%, 59%, 0%, 21.6%)
CIE-LABlab(42.38, 37.46, -59.71)
CIE-LCHlch(42.38, 70.49, 302.10°)
OKLaboklab(51.88% 0.0432 -0.171)
OKLCHoklch(51.88% 0.176 284.2)
XYZxyz(18.3692, 12.7451, 56.1245)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152C8 #B9C852
analogous
#527EC8 #6152C8 #9C52C8
triadic
#6152C8 #C86152 #52C861
tetradic
#6152C8 #C8527E #B9C852 #52C89C
square
#6152C8 #C8527E #B9C852 #52C89C
split-complementary
#6152C8 #C89C52 #7EC852
monochromatic
#312779 #4435A8 #6152C8 #8B80D7 #B6AFE6

Accessibility & contrast

On white

5.92
#6152C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6152C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152C8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152C8#FFFFFF#000000##FFFFFF
##6152C81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#396D85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6152c8;
/* rgb */ color: rgb(97, 82, 200);
/* oklch */ color: oklch(51.9% 0.176 284.2);
Tailwind
colors: {
  custom: {
    50: '#9683d9',
    500: '#6152c8',
    950: '#000000',
  },
}
SCSS
$custom: #6152c8;
$custom-light: #9683d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6152c8",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 247.627,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.17635,
    "h": 284.2
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#6152C8
secondary
#CDD4A2
accent
#DB4DC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6152C8

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

Preview Lab → · Contrast checker → · Palette generator →

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