#6252DB#6252DB

#6252DB is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.201 H 282.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6252DB
RGBrgb(98, 82, 219)
HSLhsl(247, 66%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(55.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(43.86, 43.45, -68.21)
CIE-LCHlch(43.86, 80.87, 302.50°)
OKLaboklab(53.43% 0.0435 -0.1959)
OKLCHoklch(53.43% 0.201 282.5)
XYZxyz(20.8365, 13.7444, 68.5591)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252DB #CBDB52
analogous
#5287DB #6252DB #A752DB
triadic
#6252DB #DB6252 #52DB62
tetradic
#6252DB #DB5287 #CBDB52 #52DBA7
square
#6252DB #DB5287 #CBDB52 #52DBA7
split-complementary
#6252DB #DBA752 #87DB52
monochromatic
#2C1F94 #3C29C6 #6252DB #9085E6 #BEB7F0

Accessibility & contrast

On white

5.60
#6252DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6252DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252DB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252DB#FFFFFF#000000##FFFFFF
##6252DB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#27748F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6252db;
/* rgb */ color: rgb(98, 82, 219);
/* oklch */ color: oklch(53.4% 0.201 282.5);
Tailwind
colors: {
  custom: {
    50: '#9983e7',
    500: '#6252db',
    950: '#000000',
  },
}
SCSS
$custom: #6252db;
$custom-light: #9983e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6252db",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 247.007,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.20068,
    "h": 282.5
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#6252DB
secondary
#D9DFAA
accent
#E93FD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6252DB

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

Preview Lab → · Contrast checker → · Palette generator →

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