#6243AB#6243AB

#6243AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.3% C 0.159 H 293.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6243AB
RGBrgb(98, 67, 171)
HSLhsl(258, 44%, 47%)
HSVhsv(258, 61%, 67%)
CMYKcmyk(42.7%, 60.8%, 0%, 32.9%)
CIE-LABlab(37.02, 37.95, -51.35)
CIE-LCHlch(37.02, 63.85, 306.47°)
OKLaboklab(47.32% 0.0624 -0.1464)
OKLCHoklch(47.32% 0.159 293.1)
XYZxyz(14.3929, 9.5509, 39.6054)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6243AB #8CAB43
analogous
#4358AB #6243AB #9643AB
triadic
#6243AB #AB6243 #43AB62
tetradic
#6243AB #AB4358 #8CAB43 #43AB96
square
#6243AB #AB4358 #8CAB43 #43AB96
split-complementary
#6243AB #AB9643 #58AB43
monochromatic
#302153 #49327F #6243AB #8368C4 #A794D5

Accessibility & contrast

On white

7.22
#6243AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6243AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6243AB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6243AB#FFFFFF#000000##FFFFFF
##6243AB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0155A9
Tritanopia (blue-blind)
#4E5A70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6243ab;
/* rgb */ color: rgb(98, 67, 171);
/* oklch */ color: oklch(47.3% 0.159 293.1);
Tailwind
colors: {
  custom: {
    50: '#9478c5',
    500: '#6243ab',
    950: '#000000',
  },
}
SCSS
$custom: #6243ab;
$custom-light: #9478c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6243ab",
  "rgb": {
    "r": 98,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 257.885,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.1591,
    "h": 293.1
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#6243AB
secondary
#B0C089
accent
#D354AE
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6243AB

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

Preview Lab → · Contrast checker → · Palette generator →

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