#6246E1#6246E1

#6246E1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.222 H 283.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6246E1
RGBrgb(98, 70, 225)
HSLhsl(251, 72%, 58%)
HSVhsv(251, 69%, 88%)
CMYKcmyk(56.4%, 68.9%, 0%, 11.8%)
CIE-LABlab(41.86, 51.96, -74.90)
CIE-LCHlch(41.86, 91.16, 304.75°)
OKLaboklab(52.13% 0.0532 -0.2156)
OKLCHoklch(52.13% 0.222 283.9)
XYZxyz(20.8136, 12.4119, 72.5186)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246E1 #C5E146
analogous
#4677E1 #6246E1 #B046E1
triadic
#6246E1 #E16246 #46E162
tetradic
#6246E1 #E14677 #C5E146 #46E1B0
square
#6246E1 #E14677 #C5E146 #46E1B0
split-complementary
#6246E1 #E1B046 #77E146
monochromatic
#2F1895 #3F21C9 #6246E1 #8F7BEA #BBAFF2

Accessibility & contrast

On white

6.03
#6246E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6246E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246E1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246E1#FFFFFF#000000##FFFFFF
##6246E11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#1F6F8E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6246e1;
/* rgb */ color: rgb(98, 70, 225);
/* oklch */ color: oklch(52.1% 0.222 283.9);
Tailwind
colors: {
  custom: {
    50: '#9b7cec',
    500: '#6246e1',
    950: '#000000',
  },
}
SCSS
$custom: #6246e1;
$custom-light: #9b7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#6246e1",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 250.839,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.22202,
    "h": 283.9
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#6246E1
secondary
#D5E0A2
accent
#EF39CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6246E1

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

Preview Lab → · Contrast checker → · Palette generator →

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