#6248BB#6248BB

#6248BB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.3% C 0.173 H 288.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6248BB
RGBrgb(98, 72, 187)
HSLhsl(254, 46%, 51%)
HSVhsv(254, 61%, 73%)
CMYKcmyk(47.6%, 61.5%, 0%, 26.7%)
CIE-LABlab(39.27, 39.67, -57.16)
CIE-LCHlch(39.27, 69.58, 304.76°)
OKLaboklab(49.33% 0.0558 -0.1635)
OKLCHoklch(49.33% 0.173 288.9)
XYZxyz(16.3214, 10.8186, 48.2323)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248BB #A1BB48
analogous
#4867BB #6248BB #9B48BB
triadic
#6248BB #BB6248 #48BB62
tetradic
#6248BB #BB4867 #A1BB48 #48BB9B
square
#6248BB #BB4867 #A1BB48 #48BB9B
split-complementary
#6248BB #BB9B48 #67BB48
monochromatic
#332564 #4A3690 #6248BB #8875CC #AFA1DC

Accessibility & contrast

On white

6.64
#6248BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6248BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248BB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248BB#FFFFFF#000000##FFFFFF
##6248BB1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#45637B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6248bb;
/* rgb */ color: rgb(98, 72, 187);
/* oklch */ color: oklch(49.3% 0.173 288.9);
Tailwind
colors: {
  custom: {
    50: '#957cd0',
    500: '#6248bb',
    950: '#000000',
  },
}
SCSS
$custom: #6248bb;
$custom-light: #957cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6248bb",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 253.565,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.17274,
    "h": 288.9
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#6248BB
secondary
#BDC996
accent
#D552B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6248BB

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

Preview Lab → · Contrast checker → · Palette generator →

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