#6248CA#6248CA

#6248CA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.192 H 286.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6248CA
RGBrgb(98, 72, 202)
HSLhsl(252, 55%, 54%)
HSVhsv(252, 64%, 79%)
CMYKcmyk(51.5%, 64.4%, 0%, 20.8%)
CIE-LABlab(40.40, 44.08, -64.07)
CIE-LCHlch(40.40, 77.77, 304.53°)
OKLaboklab(50.5% 0.0546 -0.1838)
OKLCHoklch(50.5% 0.192 286.5)
XYZxyz(18.0119, 11.4948, 57.1353)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248CA #B0CA48
analogous
#486FCA #6248CA #A348CA
triadic
#6248CA #CA6248 #48CA62
tetradic
#6248CA #CA486F #B0CA48 #48CAA3
square
#6248CA #CA486F #B0CA48 #48CAA3
split-complementary
#6248CA #CAA348 #6FCA48
monochromatic
#332276 #4730A5 #6248CA #8B77D8 #B3A7E5

Accessibility & contrast

On white

6.37
#6248CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6248CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248CA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248CA#FFFFFF#000000##FFFFFF
##6248CA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#3A6882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6248ca;
/* rgb */ color: rgb(98, 72, 202);
/* oklch */ color: oklch(50.5% 0.192 286.5);
Tailwind
colors: {
  custom: {
    50: '#977cdb',
    500: '#6248ca',
    950: '#000000',
  },
}
SCSS
$custom: #6248ca;
$custom-light: #977cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6248ca",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 252,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.19172,
    "h": 286.5
  },
  "luminance": 0.11496
}

Semantic roles & 50–950 ramp

primary
#6248CA
secondary
#C8D39B
accent
#DE49C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6248CA

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

Preview Lab → · Contrast checker → · Palette generator →

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