#6248CC#6248CC

#6248CC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.194 H 286.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6248CC
RGBrgb(98, 72, 204)
HSLhsl(252, 56%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(52%, 64.7%, 0%, 20%)
CIE-LABlab(40.56, 44.68, -64.98)
CIE-LCHlch(40.56, 78.85, 304.51°)
OKLaboklab(50.66% 0.0544 -0.1864)
OKLCHoklch(50.66% 0.194 286.3)
XYZxyz(18.2502, 11.5901, 58.3905)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248CC #B2CC48
analogous
#4870CC #6248CC #A448CC
triadic
#6248CC #CC6248 #48CC62
tetradic
#6248CC #CC4870 #B2CC48 #48CCA4
square
#6248CC #CC4870 #B2CC48 #48CCA4
split-complementary
#6248CC #CCA448 #70CC48
monochromatic
#332178 #472FA8 #6248CC #8B78D9 #B4A8E7

Accessibility & contrast

On white

6.33
#6248CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6248CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248CC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248CC#FFFFFF#000000##FFFFFF
##6248CC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#396984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6248cc;
/* rgb */ color: rgb(98, 72, 204);
/* oklch */ color: oklch(50.7% 0.194 286.3);
Tailwind
colors: {
  custom: {
    50: '#987cdc',
    500: '#6248cc',
    950: '#000000',
  },
}
SCSS
$custom: #6248cc;
$custom-light: #987cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6248cc",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 251.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.19421,
    "h": 286.3
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#6248CC
secondary
#C9D49C
accent
#E048C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6248CC

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

Preview Lab → · Contrast checker → · Palette generator →

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