#6243C2#6243C2

#6243C2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.188 H 288.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6243C2
RGBrgb(98, 67, 194)
HSLhsl(255, 51%, 51%)
HSVhsv(255, 65%, 76%)
CMYKcmyk(49.5%, 65.5%, 0%, 23.9%)
CIE-LABlab(38.73, 44.56, -62.13)
CIE-LCHlch(38.73, 76.46, 305.65°)
OKLaboklab(49.1% 0.0604 -0.1781)
OKLCHoklch(49.1% 0.188 288.7)
XYZxyz(16.7789, 10.5053, 52.1721)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6243C2 #A3C243
analogous
#4363C2 #6243C2 #A143C2
triadic
#6243C2 #C26243 #43C262
tetradic
#6243C2 #C24363 #A3C243 #43C2A1
square
#6243C2 #C24363 #A3C243 #43C2A1
split-complementary
#6243C2 #C2A143 #63C243
monochromatic
#332269 #4A3197 #6243C2 #8971D1 #AF9FE0

Accessibility & contrast

On white

6.77
#6243C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6243C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6243C2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6243C2#FFFFFF#000000##FFFFFF
##6243C21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#41627D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6243c2;
/* rgb */ color: rgb(98, 67, 194);
/* oklch */ color: oklch(49.1% 0.188 288.7);
Tailwind
colors: {
  custom: {
    50: '#9779d5',
    500: '#6243c2',
    950: '#000000',
  },
}
SCSS
$custom: #6243c2;
$custom-light: #9779d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6243c2",
  "rgb": {
    "r": 98,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 254.646,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.18806,
    "h": 288.7
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#6243C2
secondary
#BFCC94
accent
#DA4DB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6243C2

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

Preview Lab → · Contrast checker → · Palette generator →

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