#6247D2#6247D2

#6247D2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.0% C 0.203 H 285.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6247D2
RGBrgb(98, 71, 210)
HSLhsl(252, 61%, 55%)
HSVhsv(252, 66%, 82%)
CMYKcmyk(53.3%, 66.2%, 0%, 17.6%)
CIE-LABlab(40.82, 47.01, -68.00)
CIE-LCHlch(40.82, 82.67, 304.65°)
OKLaboklab(51% 0.0546 -0.1953)
OKLCHoklch(51% 0.203 285.6)
XYZxyz(18.9196, 11.7553, 62.2323)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247D2 #B7D247
analogous
#4771D2 #6247D2 #A847D2
triadic
#6247D2 #D26247 #47D262
tetradic
#6247D2 #D24771 #B7D247 #47D2A8
square
#6247D2 #D24771 #B7D247 #47D2A8
split-complementary
#6247D2 #D2A847 #71D247
monochromatic
#321F7F #452BB1 #6247D2 #8C78DE #B6A9EA

Accessibility & contrast

On white

6.27
#6247D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6247D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247D2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247D2#FFFFFF#000000##FFFFFF
##6247D21.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)
#0064D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#336A86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6247d2;
/* rgb */ color: rgb(98, 71, 210);
/* oklch */ color: oklch(51.0% 0.203 285.6);
Tailwind
colors: {
  custom: {
    50: '#997ce1',
    500: '#6247d2',
    950: '#000000',
  },
}
SCSS
$custom: #6247d2;
$custom-light: #997ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#6247d2",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 251.655,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.20282,
    "h": 285.6
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#6247D2
secondary
#CCD89D
accent
#E444C5
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6247D2

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

Preview Lab → · Contrast checker → · Palette generator →

#6247D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva