#6243C5#6243C5

#6243C5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.192 H 288.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6243C5
RGBrgb(98, 67, 197)
HSLhsl(254, 53%, 52%)
HSVhsv(254, 66%, 77%)
CMYKcmyk(50.3%, 66%, 0%, 22.7%)
CIE-LABlab(38.97, 45.43, -63.50)
CIE-LCHlch(38.97, 78.08, 305.58°)
OKLaboklab(49.34% 0.0601 -0.1821)
OKLCHoklch(49.34% 0.192 288.2)
XYZxyz(17.1193, 10.6414, 53.9645)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6243C5 #A6C543
analogous
#4365C5 #6243C5 #A343C5
triadic
#6243C5 #C56243 #43C562
tetradic
#6243C5 #C54365 #A6C543 #43C5A3
square
#6243C5 #C54365 #A6C543 #43C5A3
split-complementary
#6243C5 #C5A343 #65C543
monochromatic
#33216C #49309B #6243C5 #8972D3 #B0A1E2

Accessibility & contrast

On white

6.71
#6243C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6243C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6243C5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6243C5#FFFFFF#000000##FFFFFF
##6243C51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#3F637E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6243c5;
/* rgb */ color: rgb(98, 67, 197);
/* oklch */ color: oklch(49.3% 0.192 288.2);
Tailwind
colors: {
  custom: {
    50: '#9779d8',
    500: '#6243c5',
    950: '#000000',
  },
}
SCSS
$custom: #6243c5;
$custom-light: #9779d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6243c5",
  "rgb": {
    "r": 98,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 254.308,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49344,
    "c": 0.19176,
    "h": 288.2
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#6243C5
secondary
#C1CE95
accent
#DC4CBA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6243C5

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

Preview Lab → · Contrast checker → · Palette generator →

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