#6249DA#6249DA

#6249DA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.210 H 284.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6249DA
RGBrgb(98, 73, 218)
HSLhsl(250, 66%, 57%)
HSVhsv(250, 67%, 85%)
CMYKcmyk(55%, 66.5%, 0%, 14.5%)
CIE-LABlab(41.88, 48.26, -70.87)
CIE-LCHlch(41.88, 85.75, 304.25°)
OKLaboklab(51.97% 0.0517 -0.2038)
OKLCHoklch(51.97% 0.21 284.2)
XYZxyz(20.0706, 12.4225, 67.6563)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249DA #C1DA49
analogous
#4979DA #6249DA #AB49DA
triadic
#6249DA #DA6249 #49DA62
tetradic
#6249DA #DA4979 #C1DA49 #49DAAB
square
#6249DA #DA4979 #C1DA49 #49DAAB
split-complementary
#6249DA #DAAB49 #79DA49
monochromatic
#301C8C #4127BF #6249DA #8E7CE4 #BAAFEF

Accessibility & contrast

On white

6.03
#6249DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6249DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249DA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249DA#FFFFFF#000000##FFFFFF
##6249DA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#2A6E8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6249da;
/* rgb */ color: rgb(98, 73, 218);
/* oklch */ color: oklch(52.0% 0.210 284.2);
Tailwind
colors: {
  custom: {
    50: '#9a7de7',
    500: '#6249da',
    950: '#000000',
  },
}
SCSS
$custom: #6249da;
$custom-light: #9a7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6249da",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 218
  },
  "hsl": {
    "h": 250.345,
    "s": 66.21,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.21022,
    "h": 284.2
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#6249DA
secondary
#D3DDA2
accent
#E93FCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6249DA

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

Preview Lab → · Contrast checker → · Palette generator →

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