#6249C8#6249C8

#6249C8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.188 H 286.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6249C8
RGBrgb(98, 73, 200)
HSLhsl(252, 54%, 54%)
HSVhsv(252, 64%, 78%)
CMYKcmyk(51%, 63.5%, 0%, 21.6%)
CIE-LABlab(40.46, 42.92, -62.82)
CIE-LCHlch(40.46, 76.08, 304.35°)
OKLaboklab(50.5% 0.0538 -0.1801)
OKLCHoklch(50.5% 0.188 286.6)
XYZxyz(17.8418, 11.5310, 55.9180)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249C8 #AFC849
analogous
#496FC8 #6249C8 #A149C8
triadic
#6249C8 #C86249 #49C862
tetradic
#6249C8 #C8496F #AFC849 #49C8A1
square
#6249C8 #C8496F #AFC849 #49C8A1
split-complementary
#6249C8 #C8A149 #6FC849
monochromatic
#332374 #4731A3 #6249C8 #8B78D6 #B3A7E4

Accessibility & contrast

On white

6.35
#6249C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6249C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249C8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249C8#FFFFFF#000000##FFFFFF
##6249C81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#3C6882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6249c8;
/* rgb */ color: rgb(98, 73, 200);
/* oklch */ color: oklch(50.5% 0.188 286.6);
Tailwind
colors: {
  custom: {
    50: '#977dda',
    500: '#6249c8',
    950: '#000000',
  },
}
SCSS
$custom: #6249c8;
$custom-light: #977dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6249c8",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 251.811,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50496,
    "c": 0.18796,
    "h": 286.6
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#6249C8
secondary
#C7D29B
accent
#DD4BC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6249C8

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

Preview Lab → · Contrast checker → · Palette generator →

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