#6248BD#6248BD

#6248BD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.175 H 288.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6248BD
RGBrgb(98, 72, 189)
HSLhsl(253, 47%, 51%)
HSVhsv(253, 62%, 74%)
CMYKcmyk(48.1%, 61.9%, 0%, 25.9%)
CIE-LABlab(39.42, 40.25, -58.10)
CIE-LCHlch(39.42, 70.68, 304.72°)
OKLaboklab(49.48% 0.0557 -0.1662)
OKLCHoklch(49.48% 0.175 288.5)
XYZxyz(16.5370, 10.9048, 49.3677)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248BD #A3BD48
analogous
#4868BD #6248BD #9C48BD
triadic
#6248BD #BD6248 #48BD62
tetradic
#6248BD #BD4868 #A3BD48 #48BD9C
square
#6248BD #BD4868 #A3BD48 #48BD9C
split-complementary
#6248BD #BD9C48 #68BD48
monochromatic
#332566 #4A3593 #6248BD #8975CD #AFA2DD

Accessibility & contrast

On white

6.60
#6248BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6248BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248BD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248BD#FFFFFF#000000##FFFFFF
##6248BD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#44637C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6248bd;
/* rgb */ color: rgb(98, 72, 189);
/* oklch */ color: oklch(49.5% 0.175 288.5);
Tailwind
colors: {
  custom: {
    50: '#967cd2',
    500: '#6248bd',
    950: '#000000',
  },
}
SCSS
$custom: #6248bd;
$custom-light: #967cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6248bd",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 253.333,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.1753,
    "h": 288.5
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#6248BD
secondary
#BFCA97
accent
#D751B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6248BD

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

Preview Lab → · Contrast checker → · Palette generator →

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