#6249BA#6249BA

#6249BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.170 H 288.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6249BA
RGBrgb(98, 73, 186)
HSLhsl(253, 45%, 51%)
HSVhsv(253, 61%, 73%)
CMYKcmyk(47.3%, 60.8%, 0%, 27.1%)
CIE-LABlab(39.42, 38.79, -56.33)
CIE-LCHlch(39.42, 68.40, 304.55°)
OKLaboklab(49.41% 0.0548 -0.161)
OKLCHoklch(49.41% 0.17 288.8)
XYZxyz(16.2799, 10.9063, 47.6922)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249BA #A1BA49
analogous
#4968BA #6249BA #9A49BA
triadic
#6249BA #BA6249 #49BA62
tetradic
#6249BA #BA4968 #A1BA49 #49BA9A
square
#6249BA #BA4968 #A1BA49 #49BA9A
split-complementary
#6249BA #BA9A49 #68BA49
monochromatic
#332663 #4A368F #6249BA #8875CB #AFA2DC

Accessibility & contrast

On white

6.60
#6249BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6249BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249BA#FFFFFF#000000##FFFFFF
##6249BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#46637A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6249ba;
/* rgb */ color: rgb(98, 73, 186);
/* oklch */ color: oklch(49.4% 0.170 288.8);
Tailwind
colors: {
  custom: {
    50: '#957dcf',
    500: '#6249ba',
    950: '#000000',
  },
}
SCSS
$custom: #6249ba;
$custom-light: #957dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6249ba",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 253.274,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.1701,
    "h": 288.8
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#6249BA
secondary
#BDC896
accent
#D553B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6249BA

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

Preview Lab → · Contrast checker → · Palette generator →

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