#6249DD#6249DD

#6249DD is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.2% C 0.214 H 283.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6249DD
RGBrgb(98, 73, 221)
HSLhsl(250, 69%, 58%)
HSVhsv(250, 67%, 87%)
CMYKcmyk(55.7%, 67%, 0%, 13.3%)
CIE-LABlab(42.13, 49.15, -72.19)
CIE-LCHlch(42.13, 87.33, 304.25°)
OKLaboklab(52.22% 0.0513 -0.2076)
OKLCHoklch(52.22% 0.214 283.9)
XYZxyz(20.4667, 12.5810, 69.7425)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249DD #C4DD49
analogous
#497ADD #6249DD #AC49DD
triadic
#6249DD #DD6249 #49DD62
tetradic
#6249DD #DD497A #C4DD49 #49DDAC
square
#6249DD #DD497A #C4DD49 #49DDAC
split-complementary
#6249DD #DDAC49 #7ADD49
monochromatic
#2F1B91 #4025C4 #6249DD #8E7DE7 #BBB0F0

Accessibility & contrast

On white

5.97
#6249DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6249DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249DD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249DD#FFFFFF#000000##FFFFFF
##6249DD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#266F8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6249dd;
/* rgb */ color: rgb(98, 73, 221);
/* oklch */ color: oklch(52.2% 0.214 283.9);
Tailwind
colors: {
  custom: {
    50: '#9a7ee9',
    500: '#6249dd',
    950: '#000000',
  },
}
SCSS
$custom: #6249dd;
$custom-light: #9a7ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6249dd",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 221
  },
  "hsl": {
    "h": 250.135,
    "s": 68.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.21386,
    "h": 283.9
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#6249DD
secondary
#D5DFA3
accent
#EB3CCE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6249DD

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

Preview Lab → · Contrast checker → · Palette generator →

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