#6249D1#6249D1

#6249D1 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.199 H 285.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6249D1
RGBrgb(98, 73, 209)
HSLhsl(251, 60%, 55%)
HSVhsv(251, 65%, 82%)
CMYKcmyk(53.1%, 65.1%, 0%, 18%)
CIE-LABlab(41.16, 45.59, -66.88)
CIE-LCHlch(41.16, 80.94, 304.28°)
OKLaboklab(51.22% 0.0529 -0.192)
OKLCHoklch(51.22% 0.199 285.4)
XYZxyz(18.9247, 11.9642, 61.6214)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249D1 #B8D149
analogous
#4974D1 #6249D1 #A649D1
triadic
#6249D1 #D16249 #49D162
tetradic
#6249D1 #D14974 #B8D149 #49D1A6
square
#6249D1 #D14974 #B8D149 #49D1A6
split-complementary
#6249D1 #D1A649 #74D149
monochromatic
#32207F #452DB0 #6249D1 #8C7ADD #B6ABEA

Accessibility & contrast

On white

6.19
#6249D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6249D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249D1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249D1#FFFFFF#000000##FFFFFF
##6249D11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#346B87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6249d1;
/* rgb */ color: rgb(98, 73, 209);
/* oklch */ color: oklch(51.2% 0.199 285.4);
Tailwind
colors: {
  custom: {
    50: '#987de0',
    500: '#6249d1',
    950: '#000000',
  },
}
SCSS
$custom: #6249d1;
$custom-light: #987de0;
$custom-dark: #000000;
JSON
{
  "hex": "#6249d1",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 251.029,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.19919,
    "h": 285.4
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#6249D1
secondary
#CDD79E
accent
#E345C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6249D1

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

Preview Lab → · Contrast checker → · Palette generator →

#6249D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva