#6243BA#6243BA

#6243BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.178 H 290.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#6243BA
RGBrgb(98, 67, 186)
HSLhsl(256, 47%, 50%)
HSVhsv(256, 64%, 73%)
CMYKcmyk(47.3%, 64%, 0%, 27.1%)
CIE-LABlab(38.12, 42.25, -58.45)
CIE-LCHlch(38.12, 72.12, 305.86°)
OKLaboklab(48.46% 0.0613 -0.1672)
OKLCHoklch(48.46% 0.178 290.1)
XYZxyz(15.9046, 10.1555, 47.5671)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6243BA #9BBA43
analogous
#4360BA #6243BA #9E43BA
triadic
#6243BA #BA6243 #43BA62
tetradic
#6243BA #BA4360 #9BBA43 #43BA9E
square
#6243BA #BA4360 #9BBA43 #43BA9E
split-complementary
#6243BA #BA9E43 #60BA43
monochromatic
#332360 #4A338D #6243BA #876FCB #AD9CDB

Accessibility & contrast

On white

6.93
#6243BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6243BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6243BA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6243BA#FFFFFF#000000##FFFFFF
##6243BA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#465F78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6243ba;
/* rgb */ color: rgb(98, 67, 186);
/* oklch */ color: oklch(48.5% 0.178 290.1);
Tailwind
colors: {
  custom: {
    50: '#9679d0',
    500: '#6243ba',
    950: '#000000',
  },
}
SCSS
$custom: #6243ba;
$custom-light: #9679d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6243ba",
  "rgb": {
    "r": 98,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 255.63,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.17812,
    "h": 290.1
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#6243BA
secondary
#B9C891
accent
#D751B4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6243BA

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

Preview Lab → · Contrast checker → · Palette generator →

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