#6243D9#6243D9

#6243D9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.216 H 285.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6243D9
RGBrgb(98, 67, 217)
HSLhsl(252, 66%, 56%)
HSVhsv(252, 69%, 85%)
CMYKcmyk(54.8%, 69.1%, 0%, 14.9%)
CIE-LABlab(40.60, 51.23, -72.39)
CIE-LCHlch(40.60, 88.68, 305.29°)
OKLaboklab(51.03% 0.057 -0.2082)
OKLCHoklch(51.03% 0.216 285.3)
XYZxyz(19.5648, 11.6196, 66.8441)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6243D9 #BAD943
analogous
#436FD9 #6243D9 #AD43D9
triadic
#6243D9 #D96243 #43D962
tetradic
#6243D9 #D9436F #BAD943 #43D9AD
square
#6243D9 #D9436F #BAD943 #43D9AD
split-complementary
#6243D9 #D9AD43 #6FD943
monochromatic
#311B86 #4425B9 #6243D9 #8D76E3 #B7A9EE

Accessibility & contrast

On white

6.32
#6243D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6243D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6243D9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6243D9#FFFFFF#000000##FFFFFF
##6243D91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#2C6A89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6243d9;
/* rgb */ color: rgb(98, 67, 217);
/* oklch */ color: oklch(51.0% 0.216 285.3);
Tailwind
colors: {
  custom: {
    50: '#9a7ae6',
    500: '#6243d9',
    950: '#000000',
  },
}
SCSS
$custom: #6243d9;
$custom-light: #9a7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#6243d9",
  "rgb": {
    "r": 98,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 252.4,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.21585,
    "h": 285.3
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#6243D9
secondary
#CEDB9D
accent
#E93FC6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6243D9

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

Preview Lab → · Contrast checker → · Palette generator →

#6243D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva