#6247DB#6247DB

#6247DB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.214 H 284.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6247DB
RGBrgb(98, 71, 219)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 68%, 86%)
CMYKcmyk(55.3%, 67.6%, 0%, 14.1%)
CIE-LABlab(41.56, 49.66, -71.97)
CIE-LCHlch(41.56, 87.44, 304.61°)
OKLaboklab(51.76% 0.0533 -0.207)
OKLCHoklch(51.76% 0.214 284.4)
XYZxyz(20.0725, 12.2164, 68.3044)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6247DB #C0DB47
analogous
#4776DB #6247DB #AC47DB
triadic
#6247DB #DB6247 #47DB62
tetradic
#6247DB #DB4776 #C0DB47 #47DBAC
square
#6247DB #DB4776 #C0DB47 #47DBAC
split-complementary
#6247DB #DBAC47 #76DB47
monochromatic
#301B8C #4225BF #6247DB #8E7AE5 #B9ADEF

Accessibility & contrast

On white

6.10
#6247DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6247DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6247DB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6247DB#FFFFFF#000000##FFFFFF
##6247DB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#296D8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6247db;
/* rgb */ color: rgb(98, 71, 219);
/* oklch */ color: oklch(51.8% 0.214 284.4);
Tailwind
colors: {
  custom: {
    50: '#9a7ce7',
    500: '#6247db',
    950: '#000000',
  },
}
SCSS
$custom: #6247db;
$custom-light: #9a7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6247db",
  "rgb": {
    "r": 98,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 250.946,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.21373,
    "h": 284.4
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#6247DB
secondary
#D2DDA1
accent
#EA3ECB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6247DB

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

Preview Lab → · Contrast checker → · Palette generator →

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