#6252E9#6252E9

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

Color values

HEX#6252E9
RGBrgb(98, 82, 233)
HSLhsl(246, 77%, 62%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(57.9%, 64.8%, 0%, 8.6%)
CIE-LABlab(44.96, 47.72, -74.37)
CIE-LCHlch(44.96, 88.36, 302.69°)
OKLaboklab(54.57% 0.0422 -0.214)
OKLCHoklch(54.57% 0.218 281.1)
XYZxyz(22.7577, 14.5129, 78.6770)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252E9 #D9E952
analogous
#528DE9 #6252E9 #AE52E9
triadic
#6252E9 #E96252 #52E962
tetradic
#6252E9 #E9528D #D9E952 #52E9AE
square
#6252E9 #E9528D #D9E952 #52E9AE
split-complementary
#6252E9 #E9AE52 #8DE952
monochromatic
#2616AB #311DE1 #6252E9 #9388F0 #C5BFF7

Accessibility & contrast

On white

5.38
#6252E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6252E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252E9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252E9#FFFFFF#000000##FFFFFF
##6252E91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6252e9;
/* rgb */ color: rgb(98, 82, 233);
/* oklch */ color: oklch(54.6% 0.218 281.1);
Tailwind
colors: {
  custom: {
    50: '#9b84f1',
    500: '#6252e9',
    950: '#000000',
  },
}
SCSS
$custom: #6252e9;
$custom-light: #9b84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6252e9",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 246.358,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.21812,
    "h": 281.1
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#6252E9
secondary
#E1E7AF
accent
#DA0CC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6252E9

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

Preview Lab → · Contrast checker → · Palette generator →

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