#6248CF#6248CF

#6248CF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.198 H 285.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6248CF
RGBrgb(98, 72, 207)
HSLhsl(252, 58%, 55%)
HSVhsv(252, 65%, 81%)
CMYKcmyk(52.7%, 65.2%, 0%, 18.8%)
CIE-LABlab(40.79, 45.56, -66.33)
CIE-LCHlch(40.79, 80.47, 304.49°)
OKLaboklab(50.91% 0.054 -0.1904)
OKLCHoklch(50.91% 0.198 285.8)
XYZxyz(18.6135, 11.7354, 60.3038)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248CF #B5CF48
analogous
#4871CF #6248CF #A648CF
triadic
#6248CF #CF6248 #48CF62
tetradic
#6248CF #CF4871 #B5CF48 #48CFA6
square
#6248CF #CF4871 #B5CF48 #48CFA6
split-complementary
#6248CF #CFA648 #71CF48
monochromatic
#32217C #462DAD #6248CF #8C78DC #B5A9E8

Accessibility & contrast

On white

6.27
#6248CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6248CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248CF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248CF#FFFFFF#000000##FFFFFF
##6248CF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#366A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6248cf;
/* rgb */ color: rgb(98, 72, 207);
/* oklch */ color: oklch(50.9% 0.198 285.8);
Tailwind
colors: {
  custom: {
    50: '#987ddf',
    500: '#6248cf',
    950: '#000000',
  },
}
SCSS
$custom: #6248cf;
$custom-light: #987ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6248cf",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 251.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.19792,
    "h": 285.8
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#6248CF
secondary
#CBD69D
accent
#E246C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6248CF

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

Preview Lab → · Contrast checker → · Palette generator →

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