#6252CE#6252CE

#6252CE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.184 H 283.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6252CE
RGBrgb(98, 82, 206)
HSLhsl(248, 56%, 56%)
HSVhsv(248, 60%, 81%)
CMYKcmyk(52.4%, 60.2%, 0%, 19.2%)
CIE-LABlab(42.89, 39.48, -62.33)
CIE-LCHlch(42.89, 73.79, 302.35°)
OKLaboklab(52.41% 0.0443 -0.1786)
OKLCHoklch(52.41% 0.184 283.9)
XYZxyz(19.1915, 13.0864, 59.8952)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252CE #BECE52
analogous
#5280CE #6252CE #A052CE
triadic
#6252CE #CE6252 #52CE62
tetradic
#6252CE #CE5280 #BECE52 #52CEA0
square
#6252CE #CE5280 #BECE52 #52CEA0
split-complementary
#6252CE #CEA052 #80CE52
monochromatic
#302581 #4232B1 #6252CE #8D82DC #B9B1E9

Accessibility & contrast

On white

5.81
#6252CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6252CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252CE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252CE#FFFFFF#000000##FFFFFF
##6252CE1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#366F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6252ce;
/* rgb */ color: rgb(98, 82, 206);
/* oklch */ color: oklch(52.4% 0.184 283.9);
Tailwind
colors: {
  custom: {
    50: '#9783de',
    500: '#6252ce',
    950: '#000000',
  },
}
SCSS
$custom: #6252ce;
$custom-light: #9783de;
$custom-dark: #000000;
JSON
{
  "hex": "#6252ce",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 247.742,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52413,
    "c": 0.18406,
    "h": 283.9
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#6252CE
secondary
#D1D7A4
accent
#DF49CC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6252CE

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

Preview Lab → · Contrast checker → · Palette generator →

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