#6249CA#6249CA

#6249CA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.190 H 286.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6249CA
RGBrgb(98, 73, 202)
HSLhsl(252, 55%, 54%)
HSVhsv(252, 64%, 79%)
CMYKcmyk(51.5%, 63.9%, 0%, 20.8%)
CIE-LABlab(40.61, 43.52, -63.73)
CIE-LCHlch(40.61, 77.17, 304.33°)
OKLaboklab(50.65% 0.0536 -0.1828)
OKLCHoklch(50.65% 0.19 286.3)
XYZxyz(18.0771, 11.6251, 57.1570)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249CA #B1CA49
analogous
#4971CA #6249CA #A349CA
triadic
#6249CA #CA6249 #49CA62
tetradic
#6249CA #CA4971 #B1CA49 #49CAA3
square
#6249CA #CA4971 #B1CA49 #49CAA3
split-complementary
#6249CA #CAA349 #71CA49
monochromatic
#332276 #4730A6 #6249CA #8B78D8 #B4A8E6

Accessibility & contrast

On white

6.32
#6249CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6249CA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249CA#FFFFFF#000000##FFFFFF
##6249CA1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#3A6883
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6249ca;
/* rgb */ color: rgb(98, 73, 202);
/* oklch */ color: oklch(50.7% 0.190 286.3);
Tailwind
colors: {
  custom: {
    50: '#977ddb',
    500: '#6249ca',
    950: '#000000',
  },
}
SCSS
$custom: #6249ca;
$custom-light: #977ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6249ca",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 251.628,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.19047,
    "h": 286.3
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#6249CA
secondary
#C8D39C
accent
#DE4AC1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6249CA

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

Preview Lab → · Contrast checker → · Palette generator →

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