#6248D9#6248D9

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

Color values

HEX#6248D9
RGBrgb(98, 72, 217)
HSLhsl(251, 66%, 57%)
HSVhsv(251, 67%, 85%)
CMYKcmyk(54.8%, 66.8%, 0%, 14.9%)
CIE-LABlab(41.59, 48.52, -70.77)
CIE-LCHlch(41.59, 85.80, 304.44°)
OKLaboklab(51.73% 0.0527 -0.2034)
OKLCHoklch(51.73% 0.21 284.5)
XYZxyz(19.8750, 12.2400, 66.9475)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248D9 #BFD948
analogous
#4877D9 #6248D9 #AB48D9
triadic
#6248D9 #D96248 #48D962
tetradic
#6248D9 #D94877 #BFD948 #48D9AB
square
#6248D9 #D94877 #BFD948 #48D9AB
split-complementary
#6248D9 #D9AB48 #77D948
monochromatic
#301D8A #4227BD #6248D9 #8D7BE4 #B9ADEE

Accessibility & contrast

On white

6.09
#6248D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6248D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248D9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248D9#FFFFFF#000000##FFFFFF
##6248D91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#2B6D8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6248d9;
/* rgb */ color: rgb(98, 72, 217);
/* oklch */ color: oklch(51.7% 0.210 284.5);
Tailwind
colors: {
  custom: {
    50: '#9a7de6',
    500: '#6248d9',
    950: '#000000',
  },
}
SCSS
$custom: #6248d9;
$custom-light: #9a7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#6248d9",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 250.759,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.21017,
    "h": 284.5
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#6248D9
secondary
#D1DCA1
accent
#E93FCA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6248D9

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

Preview Lab → · Contrast checker → · Palette generator →

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