#6252DF#6252DF

#6252DF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.206 H 282.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6252DF
RGBrgb(98, 82, 223)
HSLhsl(247, 69%, 60%)
HSVhsv(247, 63%, 87%)
CMYKcmyk(56.1%, 63.2%, 0%, 12.5%)
CIE-LABlab(44.17, 44.67, -69.98)
CIE-LCHlch(44.17, 83.03, 302.55°)
OKLaboklab(53.75% 0.0431 -0.2011)
OKLCHoklch(53.75% 0.206 282.1)
XYZxyz(21.3695, 13.9576, 71.3658)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252DF #CFDF52
analogous
#5288DF #6252DF #A952DF
triadic
#6252DF #DF6252 #52DF62
tetradic
#6252DF #DF5288 #CFDF52 #52DFA9
square
#6252DF #DF5288 #CFDF52 #52DFA9
split-complementary
#6252DF #DFA952 #88DF52
monochromatic
#2B1D9A #3926CE #6252DF #9186E9 #C0B9F2

Accessibility & contrast

On white

5.54
#6252DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6252DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252DF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252DF#FFFFFF#000000##FFFFFF
##6252DF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#217591
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6252df;
/* rgb */ color: rgb(98, 82, 223);
/* oklch */ color: oklch(53.7% 0.206 282.1);
Tailwind
colors: {
  custom: {
    50: '#9a84ea',
    500: '#6252df',
    950: '#000000',
  },
}
SCSS
$custom: #6252df;
$custom-light: #9a84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6252df",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 246.809,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.20571,
    "h": 282.1
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#6252DF
secondary
#DBE2AB
accent
#EC3CD8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6252DF

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

Preview Lab → · Contrast checker → · Palette generator →

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