#6248DF#6248DF

#6248DF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.2% C 0.217 H 283.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6248DF
RGBrgb(98, 72, 223)
HSLhsl(250, 70%, 58%)
HSVhsv(250, 68%, 87%)
CMYKcmyk(56.1%, 67.7%, 0%, 12.5%)
CIE-LABlab(42.09, 50.29, -73.39)
CIE-LCHlch(42.09, 88.97, 304.42°)
OKLaboklab(52.24% 0.0519 -0.2111)
OKLCHoklch(52.24% 0.217 283.8)
XYZxyz(20.6696, 12.5578, 71.1325)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248DF #C5DF48
analogous
#4879DF #6248DF #AD48DF
triadic
#6248DF #DF6248 #48DF62
tetradic
#6248DF #DF4879 #C5DF48 #48DFAD
square
#6248DF #DF4879 #C5DF48 #48DFAD
split-complementary
#6248DF #DFAD48 #79DF48
monochromatic
#2F1A93 #3F23C7 #6248DF #8F7CE8 #BBB0F1

Accessibility & contrast

On white

5.98
#6248DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6248DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248DF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248DF#FFFFFF#000000##FFFFFF
##6248DF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#236F8E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6248df;
/* rgb */ color: rgb(98, 72, 223);
/* oklch */ color: oklch(52.2% 0.217 283.8);
Tailwind
colors: {
  custom: {
    50: '#9a7dea',
    500: '#6248df',
    950: '#000000',
  },
}
SCSS
$custom: #6248df;
$custom-light: #9a7dea;
$custom-dark: #000000;
JSON
{
  "hex": "#6248df",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 250.331,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.21741,
    "h": 283.8
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#6248DF
secondary
#D5E0A3
accent
#ED3BCE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6248DF

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

Preview Lab → · Contrast checker → · Palette generator →

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