#6248D2#6248D2

#6248D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.2% C 0.202 H 285.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6248D2
RGBrgb(98, 72, 210)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 66%, 82%)
CMYKcmyk(53.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(41.03, 46.45, -67.67)
CIE-LCHlch(41.03, 82.08, 304.47°)
OKLaboklab(51.15% 0.0537 -0.1943)
OKLCHoklch(51.15% 0.202 285.4)
XYZxyz(18.9837, 11.8835, 62.2537)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248D2 #B8D248
analogous
#4873D2 #6248D2 #A748D2
triadic
#6248D2 #D26248 #48D262
tetradic
#6248D2 #D24873 #B8D248 #48D2A7
square
#6248D2 #D24873 #B8D248 #48D2A7
split-complementary
#6248D2 #D2A748 #73D248
monochromatic
#322080 #452CB1 #6248D2 #8C79DE #B6AAEA

Accessibility & contrast

On white

6.22
#6248D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6248D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248D2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248D2#FFFFFF#000000##FFFFFF
##6248D21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#336B87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6248d2;
/* rgb */ color: rgb(98, 72, 210);
/* oklch */ color: oklch(51.2% 0.202 285.4);
Tailwind
colors: {
  custom: {
    50: '#997de1',
    500: '#6248d2',
    950: '#000000',
  },
}
SCSS
$custom: #6248d2;
$custom-light: #997de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6248d2",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 251.304,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.20162,
    "h": 285.4
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#6248D2
secondary
#CDD89E
accent
#E444C6
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6248D2

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

Preview Lab → · Contrast checker → · Palette generator →

#6248D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva