#6245C8#6245C8

#6245C8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.193 H 287.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6245C8
RGBrgb(98, 69, 200)
HSLhsl(253, 54%, 53%)
HSVhsv(253, 66%, 78%)
CMYKcmyk(51%, 65.5%, 0%, 21.6%)
CIE-LABlab(39.62, 45.19, -64.19)
CIE-LCHlch(39.62, 78.50, 305.15°)
OKLaboklab(49.89% 0.0577 -0.1841)
OKLCHoklch(49.89% 0.193 287.4)
XYZxyz(17.5874, 11.0222, 55.8332)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245C8 #ABC845
analogous
#456AC8 #6245C8 #A345C8
triadic
#6245C8 #C86245 #45C862
tetradic
#6245C8 #C8456A #ABC845 #45C8A3
square
#6245C8 #C8456A #ABC845 #45C8A3
split-complementary
#6245C8 #C8A345 #6AC845
monochromatic
#332171 #482FA0 #6245C8 #8A74D6 #B2A3E4

Accessibility & contrast

On white

6.55
#6245C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6245C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245C8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245C8#FFFFFF#000000##FFFFFF
##6245C81.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#3C6580
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6245c8;
/* rgb */ color: rgb(98, 69, 200);
/* oklch */ color: oklch(49.9% 0.193 287.4);
Tailwind
colors: {
  custom: {
    50: '#977ada',
    500: '#6245c8',
    950: '#000000',
  },
}
SCSS
$custom: #6245c8;
$custom-light: #977ada;
$custom-dark: #000000;
JSON
{
  "hex": "#6245c8",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 253.282,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.19297,
    "h": 287.4
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#6245C8
secondary
#C4D198
accent
#DE4ABD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #6245C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6245C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva