#6239C7#6239C7

#6239C7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.206 H 289.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6239C7
RGBrgb(98, 57, 199)
HSLhsl(257, 56%, 50%)
HSVhsv(257, 71%, 78%)
CMYKcmyk(50.8%, 71.4%, 0%, 22%)
CIE-LABlab(37.20, 51.33, -67.56)
CIE-LCHlch(37.20, 84.85, 307.23°)
OKLaboklab(48.13% 0.0689 -0.194)
OKLCHoklch(48.13% 0.206 289.6)
XYZxyz(16.8060, 9.6457, 54.9980)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239C7 #9EC739
analogous
#3957C7 #6239C7 #A939C7
triadic
#6239C7 #C76239 #39C762
tetradic
#6239C7 #C73957 #9EC739 #39C7A9
square
#6239C7 #C73957 #9EC739 #39C7A9
split-complementary
#6239C7 #C7A939 #57C739
monochromatic
#331D68 #4A2B98 #6239C7 #8869D4 #AE98E2

Accessibility & contrast

On white

7.17
#6239C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6239C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239C7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239C7#FFFFFF#000000##FFFFFF
##6239C71.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#3E5E7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6239c7;
/* rgb */ color: rgb(98, 57, 199);
/* oklch */ color: oklch(48.1% 0.206 289.6);
Tailwind
colors: {
  custom: {
    50: '#9873d9',
    500: '#6239c7',
    950: '#000000',
  },
}
SCSS
$custom: #6239c7;
$custom-light: #9873d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6239c7",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 257.324,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.20587,
    "h": 289.6
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#6239C7
secondary
#BBCE8E
accent
#DF49B4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6239C7

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

Preview Lab → · Contrast checker → · Palette generator →

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