#6249DB#6249DB

#6249DB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.0% C 0.211 H 284.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6249DB
RGBrgb(98, 73, 219)
HSLhsl(250, 67%, 57%)
HSVhsv(250, 67%, 86%)
CMYKcmyk(55.3%, 66.7%, 0%, 14.1%)
CIE-LABlab(41.96, 48.56, -71.31)
CIE-LCHlch(41.96, 86.27, 304.25°)
OKLaboklab(52.05% 0.0516 -0.205)
OKLCHoklch(52.05% 0.211 284.1)
XYZxyz(20.2018, 12.4750, 68.3475)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249DB #C2DB49
analogous
#4979DB #6249DB #AB49DB
triadic
#6249DB #DB6249 #49DB62
tetradic
#6249DB #DB4979 #C2DB49 #49DBAB
square
#6249DB #DB4979 #C2DB49 #49DBAB
split-complementary
#6249DB #DBAB49 #79DB49
monochromatic
#2F1C8E #4126C1 #6249DB #8E7CE5 #BAAFEF

Accessibility & contrast

On white

6.01
#6249DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6249DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249DB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249DB#FFFFFF#000000##FFFFFF
##6249DB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#286E8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6249db;
/* rgb */ color: rgb(98, 73, 219);
/* oklch */ color: oklch(52.0% 0.211 284.1);
Tailwind
colors: {
  custom: {
    50: '#9a7ee7',
    500: '#6249db',
    950: '#000000',
  },
}
SCSS
$custom: #6249db;
$custom-light: #9a7ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6249db",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 250.274,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.21144,
    "h": 284.1
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6249DB

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

Preview Lab → · Contrast checker → · Palette generator →

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