#6252E6#6252E6

#6252E6 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.214 H 281.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6252E6
RGBrgb(98, 82, 230)
HSLhsl(246, 75%, 61%)
HSVhsv(246, 64%, 90%)
CMYKcmyk(57.4%, 64.3%, 0%, 9.8%)
CIE-LABlab(44.72, 46.81, -73.06)
CIE-LCHlch(44.72, 86.77, 302.65°)
OKLaboklab(54.32% 0.0425 -0.2102)
OKLCHoklch(54.32% 0.214 281.4)
XYZxyz(22.3328, 14.3429, 76.4392)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252E6 #D6E652
analogous
#528CE6 #6252E6 #AC52E6
triadic
#6252E6 #E66252 #52E662
tetradic
#6252E6 #E6528C #D6E652 #52E6AC
square
#6252E6 #E6528C #D6E652 #52E6AC
split-complementary
#6252E6 #E6AC52 #8CE652
monochromatic
#2718A6 #3420DB #6252E6 #9387EE #C3BDF5

Accessibility & contrast

On white

5.43
#6252E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6252E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252E6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252E6#FFFFFF#000000##FFFFFF
##6252E61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#117795
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6252e6;
/* rgb */ color: rgb(98, 82, 230);
/* oklch */ color: oklch(54.3% 0.214 281.4);
Tailwind
colors: {
  custom: {
    50: '#9b84ef',
    500: '#6252e6',
    950: '#000000',
  },
}
SCSS
$custom: #6252e6;
$custom-light: #9b84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6252e6",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 246.486,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.21443,
    "h": 281.4
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#6252E6
secondary
#E0E6AE
accent
#D70FC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6252E6

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

Preview Lab → · Contrast checker → · Palette generator →

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