#6248D8#6248D8

#6248D8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.209 H 284.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6248D8
RGBrgb(98, 72, 216)
HSLhsl(251, 65%, 56%)
HSVhsv(251, 67%, 85%)
CMYKcmyk(54.6%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.51, 48.22, -70.33)
CIE-LCHlch(41.51, 85.27, 304.44°)
OKLaboklab(51.65% 0.0529 -0.2022)
OKLCHoklch(51.65% 0.209 284.7)
XYZxyz(19.7453, 12.1881, 66.2645)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248D8 #BED848
analogous
#4876D8 #6248D8 #AA48D8
triadic
#6248D8 #D86248 #48D862
tetradic
#6248D8 #D84876 #BED848 #48D8AA
square
#6248D8 #D84876 #BED848 #48D8AA
split-complementary
#6248D8 #D8AA48 #76D848
monochromatic
#301D89 #4228BB #6248D8 #8D7AE3 #B9ADEE

Accessibility & contrast

On white

6.11
#6248D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6248D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248D8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248D8#FFFFFF#000000##FFFFFF
##6248D81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#2C6D8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6248d8;
/* rgb */ color: rgb(98, 72, 216);
/* oklch */ color: oklch(51.7% 0.209 284.7);
Tailwind
colors: {
  custom: {
    50: '#997de5',
    500: '#6248d8',
    950: '#000000',
  },
}
SCSS
$custom: #6248d8;
$custom-light: #997de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6248d8",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 250.833,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.20896,
    "h": 284.7
  },
  "luminance": 0.12189
}

Semantic roles & 50–950 ramp

primary
#6248D8
secondary
#D1DBA0
accent
#E840CA
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6248D8

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

Preview Lab → · Contrast checker → · Palette generator →

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