#6245CB#6245CB

#6245CB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.197 H 287.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6245CB
RGBrgb(98, 69, 203)
HSLhsl(253, 56%, 53%)
HSVhsv(253, 66%, 80%)
CMYKcmyk(51.7%, 66%, 0%, 20.4%)
CIE-LABlab(39.85, 46.07, -65.54)
CIE-LCHlch(39.85, 80.11, 305.10°)
OKLaboklab(50.13% 0.0574 -0.1881)
OKLCHoklch(50.13% 0.197 287)
XYZxyz(17.9414, 11.1638, 57.6978)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245CB #AECB45
analogous
#456BCB #6245CB #A545CB
triadic
#6245CB #CB6245 #45CB62
tetradic
#6245CB #CB456B #AECB45 #45CBA5
square
#6245CB #CB456B #AECB45 #45CBA5
split-complementary
#6245CB #CBA545 #6BCB45
monochromatic
#332175 #482EA5 #6245CB #8A75D8 #B3A5E6

Accessibility & contrast

On white

6.50
#6245CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6245CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245CB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245CB#FFFFFF#000000##FFFFFF
##6245CB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#3A6682
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6245cb;
/* rgb */ color: rgb(98, 69, 203);
/* oklch */ color: oklch(50.1% 0.197 287.0);
Tailwind
colors: {
  custom: {
    50: '#987bdc',
    500: '#6245cb',
    950: '#000000',
  },
}
SCSS
$custom: #6245cb;
$custom-light: #987bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6245cb",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 252.985,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.19666,
    "h": 287
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#6245CB
secondary
#C6D399
accent
#E048BF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6245CB

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

Preview Lab → · Contrast checker → · Palette generator →

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