#6252DE#6252DE

#6252DE is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.204 H 282.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6252DE
RGBrgb(98, 82, 222)
HSLhsl(247, 68%, 60%)
HSVhsv(247, 63%, 87%)
CMYKcmyk(55.9%, 63.1%, 0%, 12.9%)
CIE-LABlab(44.09, 44.37, -69.54)
CIE-LCHlch(44.09, 82.49, 302.54°)
OKLaboklab(53.67% 0.0432 -0.1998)
OKLCHoklch(53.67% 0.204 282.2)
XYZxyz(21.2350, 13.9038, 70.6578)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252DE #CEDE52
analogous
#5288DE #6252DE #A852DE
triadic
#6252DE #DE6252 #52DE62
tetradic
#6252DE #DE5288 #CEDE52 #52DEA8
square
#6252DE #DE5288 #CEDE52 #52DEA8
split-complementary
#6252DE #DEA852 #88DE52
monochromatic
#2B1D99 #3A27CC #6252DE #9185E8 #BFB9F2

Accessibility & contrast

On white

5.55
#6252DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6252DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252DE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252DE#FFFFFF#000000##FFFFFF
##6252DE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0063DB
Tritanopia (blue-blind)
#227590
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6252de;
/* rgb */ color: rgb(98, 82, 222);
/* oklch */ color: oklch(53.7% 0.204 282.2);
Tailwind
colors: {
  custom: {
    50: '#9a83e9',
    500: '#6252de',
    950: '#000000',
  },
}
SCSS
$custom: #6252de;
$custom-light: #9a83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6252de",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 246.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.20446,
    "h": 282.2
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#6252DE
secondary
#DBE1AB
accent
#EB3DD7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6252DE

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

Preview Lab → · Contrast checker → · Palette generator →

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