#6252F3#6252F3

#6252F3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.4% C 0.230 H 280.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6252F3
RGBrgb(98, 82, 243)
HSLhsl(246, 87%, 64%)
HSVhsv(246, 66%, 95%)
CMYKcmyk(59.7%, 66.3%, 0%, 4.7%)
CIE-LABlab(45.77, 50.76, -78.67)
CIE-LCHlch(45.77, 93.63, 302.83°)
OKLaboklab(55.4% 0.041 -0.2266)
OKLCHoklch(55.4% 0.23 280.2)
XYZxyz(24.2268, 15.1006, 86.4147)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252F3 #E3F352
analogous
#5292F3 #6252F3 #B252F3
triadic
#6252F3 #F36252 #52F362
tetradic
#6252F3 #F35292 #E3F352 #52F3B2
square
#6252F3 #F35292 #E3F352 #52F3B2
split-complementary
#6252F3 #F3B252 #92F352
monochromatic
#1F0DBD #2E19EF #6252F3 #968BF7 #CAC4FB

Accessibility & contrast

On white

5.22
#6252F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6252F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252F3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252F3#FFFFFF#000000##FFFFFF
##6252F31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0066F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6252f3;
/* rgb */ color: rgb(98, 82, 243);
/* oklch */ color: oklch(55.4% 0.230 280.2);
Tailwind
colors: {
  custom: {
    50: '#9d84f8',
    500: '#6252f3',
    950: '#000000',
  },
}
SCSS
$custom: #6252f3;
$custom-light: #9d84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6252f3",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 245.963,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.2303,
    "h": 280.2
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#6252F3
secondary
#E7EDB4
accent
#E402CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6252F3

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

Preview Lab → · Contrast checker → · Palette generator →

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