#6248DB#6248DB

#6248DB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.213 H 284.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6248DB
RGBrgb(98, 72, 219)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 67%, 86%)
CMYKcmyk(55.3%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.76, 49.11, -71.64)
CIE-LCHlch(41.76, 86.86, 304.43°)
OKLaboklab(51.9% 0.0524 -0.206)
OKLCHoklch(51.9% 0.213 284.3)
XYZxyz(20.1367, 12.3447, 68.3258)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248DB #C1DB48
analogous
#4878DB #6248DB #AB48DB
triadic
#6248DB #DB6248 #48DB62
tetradic
#6248DB #DB4878 #C1DB48 #48DBAB
square
#6248DB #DB4878 #C1DB48 #48DBAB
split-complementary
#6248DB #DBAB48 #78DB48
monochromatic
#301C8D #4126C0 #6248DB #8E7BE5 #BAAEEF

Accessibility & contrast

On white

6.05
#6248DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6248DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248DB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248DB#FFFFFF#000000##FFFFFF
##6248DB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6248db;
/* rgb */ color: rgb(98, 72, 219);
/* oklch */ color: oklch(51.9% 0.213 284.3);
Tailwind
colors: {
  custom: {
    50: '#9a7de7',
    500: '#6248db',
    950: '#000000',
  },
}
SCSS
$custom: #6248db;
$custom-light: #9a7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6248db",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 250.612,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.21259,
    "h": 284.3
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6248DB

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

Preview Lab → · Contrast checker → · Palette generator →

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