#6152E9#6152E9

#6152E9 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.218 H 280.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6152E9
RGBrgb(97, 82, 233)
HSLhsl(246, 77%, 62%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(58.4%, 64.8%, 0%, 8.6%)
CIE-LABlab(44.88, 47.57, -74.50)
CIE-LCHlch(44.88, 88.39, 302.56°)
OKLaboklab(54.49% 0.0409 -0.2144)
OKLCHoklch(54.49% 0.218 280.8)
XYZxyz(22.6504, 14.4576, 78.6720)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152E9 #DAE952
analogous
#528FE9 #6152E9 #AC52E9
triadic
#6152E9 #E96152 #52E961
tetradic
#6152E9 #E9528F #DAE952 #52E9AC
square
#6152E9 #E9528F #DAE952 #52E9AC
split-complementary
#6152E9 #E9AC52 #8FE952
monochromatic
#2516AB #301DE1 #6152E9 #9388F0 #C4BFF7

Accessibility & contrast

On white

5.40
#6152E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6152E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152E9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152E9#FFFFFF#000000##FFFFFF
##6152E91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6152e9;
/* rgb */ color: rgb(97, 82, 233);
/* oklch */ color: oklch(54.5% 0.218 280.8);
Tailwind
colors: {
  custom: {
    50: '#9b84f1',
    500: '#6152e9',
    950: '#000000',
  },
}
SCSS
$custom: #6152e9;
$custom-light: #9b84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6152e9",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 245.96,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.21828,
    "h": 280.8
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#6152E9
secondary
#E2E7AF
accent
#DA0CC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6152E9

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

Preview Lab → · Contrast checker → · Palette generator →

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