#6249CF#6249CF

#6249CF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.197 H 285.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6249CF
RGBrgb(98, 73, 207)
HSLhsl(251, 58%, 55%)
HSVhsv(251, 65%, 81%)
CMYKcmyk(52.7%, 64.7%, 0%, 18.8%)
CIE-LABlab(41.00, 45.00, -65.99)
CIE-LCHlch(41.00, 79.87, 304.29°)
OKLaboklab(51.06% 0.0531 -0.1894)
OKLCHoklch(51.06% 0.197 285.7)
XYZxyz(18.6787, 11.8658, 60.3255)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249CF #B6CF49
analogous
#4973CF #6249CF #A549CF
triadic
#6249CF #CF6249 #49CF62
tetradic
#6249CF #CF4973 #B6CF49 #49CFA5
square
#6249CF #CF4973 #B6CF49 #49CFA5
split-complementary
#6249CF #CFA549 #73CF49
monochromatic
#32217D #452EAD #6249CF #8C79DC #B6AAE9

Accessibility & contrast

On white

6.23
#6249CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6249CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249CF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249CF#FFFFFF#000000##FFFFFF
##6249CF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#366A85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6249cf;
/* rgb */ color: rgb(98, 73, 207);
/* oklch */ color: oklch(51.1% 0.197 285.7);
Tailwind
colors: {
  custom: {
    50: '#987ddf',
    500: '#6249cf',
    950: '#000000',
  },
}
SCSS
$custom: #6249cf;
$custom-light: #987ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6249cf",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 251.194,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51058,
    "c": 0.19671,
    "h": 285.7
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#6249CF
secondary
#CCD69E
accent
#E146C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6249CF

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

Preview Lab → · Contrast checker → · Palette generator →

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