#6245CA#6245CA

#6245CA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.195 H 287.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6245CA
RGBrgb(98, 69, 202)
HSLhsl(253, 56%, 53%)
HSVhsv(253, 66%, 79%)
CMYKcmyk(51.5%, 65.8%, 0%, 20.8%)
CIE-LABlab(39.78, 45.77, -65.09)
CIE-LCHlch(39.78, 79.58, 305.12°)
OKLaboklab(50.05% 0.0575 -0.1868)
OKLCHoklch(50.05% 0.195 287.1)
XYZxyz(17.8227, 11.1163, 57.0722)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245CA #ADCA45
analogous
#456ACA #6245CA #A545CA
triadic
#6245CA #CA6245 #45CA62
tetradic
#6245CA #CA456A #ADCA45 #45CAA5
square
#6245CA #CA456A #ADCA45 #45CAA5
split-complementary
#6245CA #CAA545 #6ACA45
monochromatic
#332174 #482FA3 #6245CA #8A75D8 #B2A4E5

Accessibility & contrast

On white

6.51
#6245CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6245CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245CA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245CA#FFFFFF#000000##FFFFFF
##6245CA1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#3B6681
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6245ca;
/* rgb */ color: rgb(98, 69, 202);
/* oklch */ color: oklch(50.0% 0.195 287.1);
Tailwind
colors: {
  custom: {
    50: '#987adb',
    500: '#6245ca',
    950: '#000000',
  },
}
SCSS
$custom: #6245ca;
$custom-light: #987adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6245ca",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 253.083,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.19543,
    "h": 287.1
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#6245CA
secondary
#C6D299
accent
#DF49BE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6245CA

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

Preview Lab → · Contrast checker → · Palette generator →

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