#6152E6#6152E6

#6152E6 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.2% C 0.215 H 281.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6152E6
RGBrgb(97, 82, 230)
HSLhsl(246, 75%, 61%)
HSVhsv(246, 64%, 90%)
CMYKcmyk(57.8%, 64.3%, 0%, 9.8%)
CIE-LABlab(44.64, 46.65, -73.19)
CIE-LCHlch(44.64, 86.79, 302.51°)
OKLaboklab(54.24% 0.0412 -0.2106)
OKLCHoklch(54.24% 0.215 281.1)
XYZxyz(22.2255, 14.2876, 76.4342)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152E6 #D7E652
analogous
#528DE6 #6152E6 #AB52E6
triadic
#6152E6 #E66152 #52E661
tetradic
#6152E6 #E6528D #D7E652 #52E6AB
square
#6152E6 #E6528D #D7E652 #52E6AB
split-complementary
#6152E6 #E6AB52 #8DE652
monochromatic
#2618A6 #3320DB #6152E6 #9287EE #C3BDF5

Accessibility & contrast

On white

5.44
#6152E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6152E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152E6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152E6#FFFFFF#000000##FFFFFF
##6152E61.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#077795
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6152e6;
/* rgb */ color: rgb(97, 82, 230);
/* oklch */ color: oklch(54.2% 0.215 281.1);
Tailwind
colors: {
  custom: {
    50: '#9a84ef',
    500: '#6152e6',
    950: '#000000',
  },
}
SCSS
$custom: #6152e6;
$custom-light: #9a84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6152e6",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 246.081,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.21458,
    "h": 281.1
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#6152E6
secondary
#E0E6AE
accent
#D70FC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6152E6

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

Preview Lab → · Contrast checker → · Palette generator →

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