#6246D2#6246D2

#6246D2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.204 H 285.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6246D2
RGBrgb(98, 70, 210)
HSLhsl(252, 61%, 55%)
HSVhsv(252, 67%, 82%)
CMYKcmyk(53.3%, 66.7%, 0%, 17.6%)
CIE-LABlab(40.62, 47.56, -68.34)
CIE-LCHlch(40.62, 83.26, 304.84°)
OKLaboklab(50.86% 0.0555 -0.1963)
OKLCHoklch(50.86% 0.204 285.8)
XYZxyz(18.8565, 11.6291, 62.2113)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246D2 #B6D246
analogous
#4670D2 #6246D2 #A846D2
triadic
#6246D2 #D26246 #46D262
tetradic
#6246D2 #D24670 #B6D246 #46D2A8
square
#6246D2 #D24670 #B6D246 #46D2A8
split-complementary
#6246D2 #D2A846 #70D246
monochromatic
#321F7F #452BB0 #6246D2 #8C77DE #B6A8EA

Accessibility & contrast

On white

6.31
#6246D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6246D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246D2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

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

Design tokens & code

CSS
--color: #6246d2;
/* rgb */ color: rgb(98, 70, 210);
/* oklch */ color: oklch(50.9% 0.204 285.8);
Tailwind
colors: {
  custom: {
    50: '#997be1',
    500: '#6246d2',
    950: '#000000',
  },
}
SCSS
$custom: #6246d2;
$custom-light: #997be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6246d2",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 252,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.20401,
    "h": 285.8
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#6246D2
secondary
#CCD79C
accent
#E444C4
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6246D2

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

Preview Lab → · Contrast checker → · Palette generator →

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