#6252FE#6252FE

#6252FE is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.3% C 0.243 H 279.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6252FE
RGBrgb(98, 82, 254)
HSLhsl(246, 99%, 66%)
HSVhsv(246, 68%, 100%)
CMYKcmyk(61.4%, 67.7%, 0%, 0.4%)
CIE-LABlab(46.69, 54.10, -83.31)
CIE-LCHlch(46.69, 99.33, 303.00°)
OKLaboklab(56.35% 0.0395 -0.2402)
OKLCHoklch(56.35% 0.243 279.3)
XYZxyz(25.9380, 15.7850, 95.4267)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252FE #EEFE52
analogous
#5298FE #6252FE #B852FE
triadic
#6252FE #FE6252 #52FE62
tetradic
#6252FE #FE5298 #EEFE52 #52FEB8
square
#6252FE #FE5298 #EEFE52 #52FEB8
split-complementary
#6252FE #FEB852 #98FE52
monochromatic
#1501D4 #2B15FE #6252FE #998FFE #D0CCFF

Accessibility & contrast

On white

5.05
#6252FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6252FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252FE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252FE#FFFFFF#000000##FFFFFF
##6252FE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0068FB
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6252fe;
/* rgb */ color: rgb(98, 82, 254);
/* oklch */ color: oklch(56.3% 0.243 279.3);
Tailwind
colors: {
  custom: {
    50: '#9f84ff',
    500: '#6252fe',
    950: '#000000',
  },
}
SCSS
$custom: #6252fe;
$custom-light: #9f84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6252fe",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 254
  },
  "hsl": {
    "h": 245.581,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.24344,
    "h": 279.3
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#6252FE
secondary
#EDF2B9
accent
#E600D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6252FE

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

Preview Lab → · Contrast checker → · Palette generator →

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