#6152E5#6152E5

#6152E5 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.213 H 281.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6152E5
RGBrgb(97, 82, 229)
HSLhsl(246, 74%, 61%)
HSVhsv(246, 64%, 90%)
CMYKcmyk(57.6%, 64.2%, 0%, 10.2%)
CIE-LABlab(44.56, 46.34, -72.76)
CIE-LCHlch(44.56, 86.26, 302.50°)
OKLaboklab(54.16% 0.0413 -0.2093)
OKLCHoklch(54.16% 0.213 281.2)
XYZxyz(22.0855, 14.2316, 75.6967)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152E5 #D6E552
analogous
#528DE5 #6152E5 #AA52E5
triadic
#6152E5 #E56152 #52E561
tetradic
#6152E5 #E5528D #D6E552 #52E5AA
square
#6152E5 #E5528D #D6E552 #52E5AA
split-complementary
#6152E5 #E5AA52 #8DE552
monochromatic
#2719A4 #3321D9 #6152E5 #9287ED #C2BCF5

Accessibility & contrast

On white

5.46
#6152E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6152E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152E5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152E5#FFFFFF#000000##FFFFFF
##6152E51.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#0C7794
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6152e5;
/* rgb */ color: rgb(97, 82, 229);
/* oklch */ color: oklch(54.2% 0.213 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a84ee',
    500: '#6152e5',
    950: '#000000',
  },
}
SCSS
$custom: #6152e5;
$custom-light: #9a84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6152e5",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 246.122,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.21335,
    "h": 281.2
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#6152E5
secondary
#DFE5AE
accent
#D610C2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6152E5

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

Preview Lab → · Contrast checker → · Palette generator →

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