#6152E4#6152E4

#6152E4 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.212 H 281.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6152E4
RGBrgb(97, 82, 228)
HSLhsl(246, 73%, 61%)
HSVhsv(246, 64%, 89%)
CMYKcmyk(57.5%, 64%, 0%, 10.6%)
CIE-LABlab(44.48, 46.04, -72.32)
CIE-LCHlch(44.48, 85.73, 302.48°)
OKLaboklab(54.08% 0.0414 -0.208)
OKLCHoklch(54.08% 0.212 281.3)
XYZxyz(21.9463, 14.1759, 74.9635)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152E4 #D5E452
analogous
#528CE4 #6152E4 #AA52E4
triadic
#6152E4 #E46152 #52E461
tetradic
#6152E4 #E4528C #D5E452 #52E4AA
square
#6152E4 #E4528C #D5E452 #52E4AA
split-complementary
#6152E4 #E4AA52 #8CE452
monochromatic
#2719A2 #3422D7 #6152E4 #9187EC #C2BCF5

Accessibility & contrast

On white

5.48
#6152E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6152E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152E4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152E4#FFFFFF#000000##FFFFFF
##6152E41.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#0F7794
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6152e4;
/* rgb */ color: rgb(97, 82, 228);
/* oklch */ color: oklch(54.1% 0.212 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a84ee',
    500: '#6152e4',
    950: '#000000',
  },
}
SCSS
$custom: #6152e4;
$custom-light: #9a84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6152e4",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 246.164,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.21211,
    "h": 281.3
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#6152E4
secondary
#DFE5AD
accent
#D510C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6152E4

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

Preview Lab → · Contrast checker → · Palette generator →

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