#6249CB#6249CB

#6249CB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.192 H 286.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6249CB
RGBrgb(98, 73, 203)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 64%, 80%)
CMYKcmyk(51.7%, 64%, 0%, 20.4%)
CIE-LABlab(40.69, 43.81, -64.18)
CIE-LCHlch(40.69, 77.71, 304.32°)
OKLaboklab(50.74% 0.0535 -0.1841)
OKLCHoklch(50.74% 0.192 286.2)
XYZxyz(18.1958, 11.6726, 57.7826)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249CB #B2CB49
analogous
#4971CB #6249CB #A349CB
triadic
#6249CB #CB6249 #49CB62
tetradic
#6249CB #CB4971 #B2CB49 #49CBA3
square
#6249CB #CB4971 #B2CB49 #49CBA3
split-complementary
#6249CB #CBA349 #71CB49
monochromatic
#332277 #4730A7 #6249CB #8B79D9 #B4A8E6

Accessibility & contrast

On white

6.30
#6249CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6249CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249CB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249CB#FFFFFF#000000##FFFFFF
##6249CB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#396983
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6249cb;
/* rgb */ color: rgb(98, 73, 203);
/* oklch */ color: oklch(50.7% 0.192 286.2);
Tailwind
colors: {
  custom: {
    50: '#977ddc',
    500: '#6249cb',
    950: '#000000',
  },
}
SCSS
$custom: #6249cb;
$custom-light: #977ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6249cb",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 251.538,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.19173,
    "h": 286.2
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#6249CB
secondary
#C9D49C
accent
#DF49C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6249CB

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

Preview Lab → · Contrast checker → · Palette generator →

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