#6245D1#6245D1

#6245D1 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.6% C 0.204 H 286.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6245D1
RGBrgb(98, 69, 209)
HSLhsl(252, 60%, 55%)
HSVhsv(252, 67%, 82%)
CMYKcmyk(53.1%, 67%, 0%, 18%)
CIE-LABlab(40.34, 47.82, -68.22)
CIE-LCHlch(40.34, 83.31, 305.03°)
OKLaboklab(50.63% 0.0565 -0.196)
OKLCHoklch(50.63% 0.204 286.1)
XYZxyz(18.6703, 11.4554, 61.5366)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245D1 #B4D145
analogous
#456ED1 #6245D1 #A845D1
triadic
#6245D1 #D16245 #45D162
tetradic
#6245D1 #D1456E #B4D145 #45D1A8
square
#6245D1 #D1456E #B4D145 #45D1A8
split-complementary
#6245D1 #D1A845 #6ED145
monochromatic
#321F7D #462BAE #6245D1 #8B76DD #B5A7E9

Accessibility & contrast

On white

6.38
#6245D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6245D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245D1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245D1#FFFFFF#000000##FFFFFF
##6245D11.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#346985
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6245d1;
/* rgb */ color: rgb(98, 69, 209);
/* oklch */ color: oklch(50.6% 0.204 286.1);
Tailwind
colors: {
  custom: {
    50: '#997be0',
    500: '#6245d1',
    950: '#000000',
  },
}
SCSS
$custom: #6245d1;
$custom-light: #997be0;
$custom-dark: #000000;
JSON
{
  "hex": "#6245d1",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 252.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.20397,
    "h": 286.1
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#6245D1
secondary
#CAD79B
accent
#E344C3
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6245D1

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

Preview Lab → · Contrast checker → · Palette generator →

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