#6249CC#6249CC

#6249CC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.193 H 286.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6249CC
RGBrgb(98, 73, 204)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 64%, 80%)
CMYKcmyk(52%, 64.2%, 0%, 20%)
CIE-LABlab(40.77, 44.11, -64.63)
CIE-LCHlch(40.77, 78.25, 304.31°)
OKLaboklab(50.82% 0.0534 -0.1854)
OKLCHoklch(50.82% 0.193 286.1)
XYZxyz(18.3154, 11.7205, 58.4122)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249CC #B3CC49
analogous
#4972CC #6249CC #A349CC
triadic
#6249CC #CC6249 #49CC62
tetradic
#6249CC #CC4972 #B3CC49 #49CCA3
square
#6249CC #CC4972 #B3CC49 #49CCA3
split-complementary
#6249CC #CCA349 #72CC49
monochromatic
#322279 #462FA9 #6249CC #8B79D9 #B4A9E7

Accessibility & contrast

On white

6.28
#6249CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6249CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249CC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249CC#FFFFFF#000000##FFFFFF
##6249CC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#396984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6249cc;
/* rgb */ color: rgb(98, 73, 204);
/* oklch */ color: oklch(50.8% 0.193 286.1);
Tailwind
colors: {
  custom: {
    50: '#987ddc',
    500: '#6249cc',
    950: '#000000',
  },
}
SCSS
$custom: #6249cc;
$custom-light: #987ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6249cc",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 251.45,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.19298,
    "h": 286.1
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#6249CC
secondary
#CAD49D
accent
#E048C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6249CC

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

Preview Lab → · Contrast checker → · Palette generator →

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