#6248DA#6248DA

#6248DA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.8% C 0.211 H 284.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6248DA
RGBrgb(98, 72, 218)
HSLhsl(251, 66%, 57%)
HSVhsv(251, 67%, 85%)
CMYKcmyk(55%, 67%, 0%, 14.5%)
CIE-LABlab(41.68, 48.81, -71.20)
CIE-LCHlch(41.68, 86.33, 304.43°)
OKLaboklab(51.82% 0.0526 -0.2047)
OKLCHoklch(51.82% 0.211 284.4)
XYZxyz(20.0054, 12.2922, 67.6345)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248DA #C0DA48
analogous
#4877DA #6248DA #AB48DA
triadic
#6248DA #DA6248 #48DA62
tetradic
#6248DA #DA4877 #C0DA48 #48DAAB
square
#6248DA #DA4877 #C0DA48 #48DAAB
split-complementary
#6248DA #DAAB48 #77DA48
monochromatic
#301C8B #4226BE #6248DA #8E7BE4 #B9AEEF

Accessibility & contrast

On white

6.07
#6248DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6248DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248DA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248DA#FFFFFF#000000##FFFFFF
##6248DA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#2A6D8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6248da;
/* rgb */ color: rgb(98, 72, 218);
/* oklch */ color: oklch(51.8% 0.211 284.4);
Tailwind
colors: {
  custom: {
    50: '#9a7de7',
    500: '#6248da',
    950: '#000000',
  },
}
SCSS
$custom: #6248da;
$custom-light: #9a7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6248da",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 250.685,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.21139,
    "h": 284.4
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#6248DA
secondary
#D2DDA1
accent
#E93FCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6248DA

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

Preview Lab → · Contrast checker → · Palette generator →

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