#6248CD#6248CD

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

Color values

HEX#6248CD
RGBrgb(98, 72, 205)
HSLhsl(252, 57%, 54%)
HSVhsv(252, 65%, 80%)
CMYKcmyk(52.2%, 64.9%, 0%, 19.6%)
CIE-LABlab(40.64, 44.97, -65.43)
CIE-LCHlch(40.64, 79.39, 304.50°)
OKLaboklab(50.74% 0.0543 -0.1878)
OKLCHoklch(50.74% 0.195 286.1)
XYZxyz(18.3705, 11.6382, 59.0242)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248CD #B3CD48
analogous
#4871CD #6248CD #A548CD
triadic
#6248CD #CD6248 #48CD62
tetradic
#6248CD #CD4871 #B3CD48 #48CDA5
square
#6248CD #CD4871 #B3CD48 #48CDA5
split-complementary
#6248CD #CDA548 #71CD48
monochromatic
#322179 #462EA9 #6248CD #8B78DA #B4A8E7

Accessibility & contrast

On white

6.31
#6248CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6248CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248CD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248CD#FFFFFF#000000##FFFFFF
##6248CD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#386984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6248cd;
/* rgb */ color: rgb(98, 72, 205);
/* oklch */ color: oklch(50.7% 0.195 286.1);
Tailwind
colors: {
  custom: {
    50: '#987cdd',
    500: '#6248cd',
    950: '#000000',
  },
}
SCSS
$custom: #6248cd;
$custom-light: #987cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6248cd",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 251.729,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.19545,
    "h": 286.1
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#6248CD
secondary
#CAD59C
accent
#E047C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6248CD

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

Preview Lab → · Contrast checker → · Palette generator →

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