#6252E5#6252E5

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

Color values

HEX#6252E5
RGBrgb(98, 82, 229)
HSLhsl(247, 74%, 61%)
HSVhsv(247, 64%, 90%)
CMYKcmyk(57.2%, 64.2%, 0%, 10.2%)
CIE-LABlab(44.64, 46.50, -72.62)
CIE-LCHlch(44.64, 86.24, 302.63°)
OKLaboklab(54.24% 0.0426 -0.2089)
OKLCHoklch(54.24% 0.213 281.5)
XYZxyz(22.1927, 14.2869, 75.7018)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252E5 #D5E552
analogous
#528BE5 #6252E5 #AC52E5
triadic
#6252E5 #E56252 #52E562
tetradic
#6252E5 #E5528B #D5E552 #52E5AC
square
#6252E5 #E5528B #D5E552 #52E5AC
split-complementary
#6252E5 #E5AC52 #8BE552
monochromatic
#2819A4 #3521D9 #6252E5 #9287ED #C3BCF5

Accessibility & contrast

On white

5.44
#6252E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6252E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252E5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252E5#FFFFFF#000000##FFFFFF
##6252E51.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)
#006FEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#147794
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6252e5;
/* rgb */ color: rgb(98, 82, 229);
/* oklch */ color: oklch(54.2% 0.213 281.5);
Tailwind
colors: {
  custom: {
    50: '#9b84ee',
    500: '#6252e5',
    950: '#000000',
  },
}
SCSS
$custom: #6252e5;
$custom-light: #9b84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6252e5",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 246.531,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.21319,
    "h": 281.5
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6252E5

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

Preview Lab → · Contrast checker → · Palette generator →

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