#6152DE#6152DE

#6152DE is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.205 H 281.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6152DE
RGBrgb(97, 82, 222)
HSLhsl(246, 68%, 60%)
HSVhsv(246, 63%, 87%)
CMYKcmyk(56.3%, 63.1%, 0%, 12.9%)
CIE-LABlab(44.01, 44.20, -69.67)
CIE-LCHlch(44.01, 82.51, 302.39°)
OKLaboklab(53.59% 0.042 -0.2003)
OKLCHoklch(53.59% 0.205 281.8)
XYZxyz(21.1278, 13.8485, 70.6528)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152DE #CFDE52
analogous
#5289DE #6152DE #A752DE
triadic
#6152DE #DE6152 #52DE61
tetradic
#6152DE #DE5289 #CFDE52 #52DEA7
square
#6152DE #DE5289 #CFDE52 #52DEA7
split-complementary
#6152DE #DEA752 #89DE52
monochromatic
#2A1D99 #3927CC #6152DE #9085E8 #BFB9F2

Accessibility & contrast

On white

5.57
#6152DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6152DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152DE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152DE#FFFFFF#000000##FFFFFF
##6152DE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0063DB
Tritanopia (blue-blind)
#1E7590
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6152de;
/* rgb */ color: rgb(97, 82, 222);
/* oklch */ color: oklch(53.6% 0.205 281.8);
Tailwind
colors: {
  custom: {
    50: '#9983e9',
    500: '#6152de',
    950: '#000000',
  },
}
SCSS
$custom: #6152de;
$custom-light: #9983e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6152de",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 246.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.20461,
    "h": 281.8
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#6152DE
secondary
#DBE1AB
accent
#EB3DD8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6152DE

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

Preview Lab → · Contrast checker → · Palette generator →

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