#6252CD#6252CD

#6252CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.183 H 284.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6252CD
RGBrgb(98, 82, 205)
HSLhsl(248, 55%, 56%)
HSVhsv(248, 60%, 80%)
CMYKcmyk(52.2%, 60%, 0%, 19.6%)
CIE-LABlab(42.82, 39.18, -61.87)
CIE-LCHlch(42.82, 73.24, 302.34°)
OKLaboklab(52.34% 0.0443 -0.1773)
OKLCHoklch(52.34% 0.183 284)
XYZxyz(19.0704, 13.0380, 59.2575)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6252CD #BDCD52
analogous
#5280CD #6252CD #A052CD
triadic
#6252CD #CD6252 #52CD62
tetradic
#6252CD #CD5280 #BDCD52 #52CDA0
square
#6252CD #CD5280 #BDCD52 #52CDA0
split-complementary
#6252CD #CDA052 #80CD52
monochromatic
#312580 #4333AF #6252CD #8D81DB #B8B1E8

Accessibility & contrast

On white

5.82
#6252CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6252CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6252CD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6252CD#FFFFFF#000000##FFFFFF
##6252CD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#376F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6252cd;
/* rgb */ color: rgb(98, 82, 205);
/* oklch */ color: oklch(52.3% 0.183 284.0);
Tailwind
colors: {
  custom: {
    50: '#9783dd',
    500: '#6252cd',
    950: '#000000',
  },
}
SCSS
$custom: #6252cd;
$custom-light: #9783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6252cd",
  "rgb": {
    "r": 98,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 247.805,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.18277,
    "h": 284
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#6252CD
secondary
#D0D7A4
accent
#DE49CB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6252CD

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

Preview Lab → · Contrast checker → · Palette generator →

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