#6239A7#6239A7

#6239A7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.168 H 296.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6239A7
RGBrgb(98, 57, 167)
HSLhsl(262, 49%, 44%)
HSVhsv(262, 66%, 65%)
CMYKcmyk(41.3%, 65.9%, 0%, 34.5%)
CIE-LABlab(34.63, 42.49, -52.84)
CIE-LCHlch(34.63, 67.80, 308.80°)
OKLaboklab(45.49% 0.0741 -0.1507)
OKLCHoklch(45.49% 0.168 296.2)
XYZxyz(13.4734, 8.3127, 37.4464)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239A7 #7EA739
analogous
#3947A7 #6239A7 #9939A7
triadic
#6239A7 #A76239 #39A762
tetradic
#6239A7 #A73947 #7EA739 #39A799
square
#6239A7 #A73947 #7EA739 #39A799
split-complementary
#6239A7 #A79939 #47A739
monochromatic
#2C1A4C #472979 #6239A7 #8157C6 #A385D5

Accessibility & contrast

On white

7.89
#6239A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6239A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239A7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239A7#FFFFFF#000000##FFFFFF
##6239A71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#50536B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6239a7;
/* rgb */ color: rgb(98, 57, 167);
/* oklch */ color: oklch(45.5% 0.168 296.2);
Tailwind
colors: {
  custom: {
    50: '#9472c2',
    500: '#6239a7',
    950: '#000000',
  },
}
SCSS
$custom: #6239a7;
$custom-light: #9472c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6239a7",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 262.364,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.16799,
    "h": 296.2
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

primary
#6239A7
secondary
#A6BF7D
accent
#D94FA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6239A7

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

Preview Lab → · Contrast checker → · Palette generator →

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