#6245CD#6245CD

#6245CD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.199 H 286.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6245CD
RGBrgb(98, 69, 205)
HSLhsl(253, 58%, 54%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(52.2%, 66.3%, 0%, 19.6%)
CIE-LABlab(40.01, 46.65, -66.44)
CIE-LCHlch(40.01, 81.18, 305.07°)
OKLaboklab(50.3% 0.0571 -0.1907)
OKLCHoklch(50.3% 0.199 286.7)
XYZxyz(18.1813, 11.2598, 58.9611)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245CD #B0CD45
analogous
#456CCD #6245CD #A645CD
triadic
#6245CD #CD6245 #45CD62
tetradic
#6245CD #CD456C #B0CD45 #45CDA6
square
#6245CD #CD456C #B0CD45 #45CDA6
split-complementary
#6245CD #CDA645 #6CCD45
monochromatic
#332077 #472DA8 #6245CD #8B75DA #B3A5E7

Accessibility & contrast

On white

6.46
#6245CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6245CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245CD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245CD#FFFFFF#000000##FFFFFF
##6245CD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#386783
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6245cd;
/* rgb */ color: rgb(98, 69, 205);
/* oklch */ color: oklch(50.3% 0.199 286.7);
Tailwind
colors: {
  custom: {
    50: '#987bdd',
    500: '#6245cd',
    950: '#000000',
  },
}
SCSS
$custom: #6245cd;
$custom-light: #987bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6245cd",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 252.794,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.19911,
    "h": 286.7
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#6245CD
secondary
#C8D49A
accent
#E147C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6245CD

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

Preview Lab → · Contrast checker → · Palette generator →

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