#6239CE#6239CE

#6239CE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.214 H 288.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6239CE
RGBrgb(98, 57, 206)
HSLhsl(257, 60%, 52%)
HSVhsv(257, 72%, 81%)
CMYKcmyk(52.4%, 72.3%, 0%, 19.2%)
CIE-LABlab(37.80, 53.28, -70.63)
CIE-LCHlch(37.80, 88.48, 307.03°)
OKLaboklab(48.74% 0.0674 -0.203)
OKLCHoklch(48.74% 0.214 288.4)
XYZxyz(17.6374, 9.9783, 59.3772)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239CE #A5CE39
analogous
#395BCE #6239CE #AD39CE
triadic
#6239CE #CE6239 #39CE62
tetradic
#6239CE #CE395B #A5CE39 #39CEAD
square
#6239CE #CE395B #A5CE39 #39CEAD
split-complementary
#6239CE #CEAD39 #5BCE39
monochromatic
#331C71 #4A28A2 #6239CE #896ADA #B09BE6

Accessibility & contrast

On white

7.01
#6239CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6239CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6239CE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239CE#FFFFFF#000000##FFFFFF
##6239CE1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#386180
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6239ce;
/* rgb */ color: rgb(98, 57, 206);
/* oklch */ color: oklch(48.7% 0.214 288.4);
Tailwind
colors: {
  custom: {
    50: '#9973de',
    500: '#6239ce',
    950: '#000000',
  },
}
SCSS
$custom: #6239ce;
$custom-light: #9973de;
$custom-dark: #000000;
JSON
{
  "hex": "#6239ce",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 256.51,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.21393,
    "h": 288.4
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#6239CE
secondary
#C0D291
accent
#E344B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6239CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6239CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva