#6245D2#6245D2

#6245D2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.7% C 0.205 H 286.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6245D2
RGBrgb(98, 69, 210)
HSLhsl(252, 61%, 55%)
HSVhsv(252, 67%, 82%)
CMYKcmyk(53.3%, 67.1%, 0%, 17.6%)
CIE-LABlab(40.42, 48.11, -68.67)
CIE-LCHlch(40.42, 83.84, 305.02°)
OKLaboklab(50.71% 0.0564 -0.1973)
OKLCHoklch(50.71% 0.205 286)
XYZxyz(18.7945, 11.5051, 62.1906)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245D2 #B5D245
analogous
#456FD2 #6245D2 #A845D2
triadic
#6245D2 #D26245 #45D262
tetradic
#6245D2 #D2456F #B5D245 #45D2A8
square
#6245D2 #D2456F #B5D245 #45D2A8
split-complementary
#6245D2 #D2A845 #6FD245
monochromatic
#321F7E #462AAF #6245D2 #8C76DE #B5A8EA

Accessibility & contrast

On white

6.36
#6245D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6245D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245D2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245D2#FFFFFF#000000##FFFFFF
##6245D21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#336986
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6245d2;
/* rgb */ color: rgb(98, 69, 210);
/* oklch */ color: oklch(50.7% 0.205 286.0);
Tailwind
colors: {
  custom: {
    50: '#997be1',
    500: '#6245d2',
    950: '#000000',
  },
}
SCSS
$custom: #6245d2;
$custom-light: #997be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6245d2",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 252.34,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.20519,
    "h": 286
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#6245D2
secondary
#CBD79C
accent
#E444C3
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6245D2

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

Preview Lab → · Contrast checker → · Palette generator →

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