#6239B7#6239B7

#6239B7 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.187 H 292.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6239B7
RGBrgb(98, 57, 183)
HSLhsl(260, 53%, 47%)
HSVhsv(260, 69%, 72%)
CMYKcmyk(46.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(35.87, 46.89, -60.34)
CIE-LCHlch(35.87, 76.41, 307.85°)
OKLaboklab(46.77% 0.0719 -0.1728)
OKLCHoklch(46.77% 0.187 292.6)
XYZxyz(15.0450, 8.9413, 45.7237)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239B7 #8EB739
analogous
#394FB7 #6239B7 #A139B7
triadic
#6239B7 #B76239 #39B762
tetradic
#6239B7 #B7394F #8EB739 #39B7A1
square
#6239B7 #B7394F #8EB739 #39B7A1
split-complementary
#6239B7 #B7A139 #4FB739
monochromatic
#301C5A #492A88 #6239B7 #8360CD #A88EDC

Accessibility & contrast

On white

7.53
#6239B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6239B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239B7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239B7#FFFFFF#000000##FFFFFF
##6239B71.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#485873
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6239b7;
/* rgb */ color: rgb(98, 57, 183);
/* oklch */ color: oklch(46.8% 0.187 292.6);
Tailwind
colors: {
  custom: {
    50: '#9672ce',
    500: '#6239b7',
    950: '#000000',
  },
}
SCSS
$custom: #6239b7;
$custom-light: #9672ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6239b7",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 259.524,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.18716,
    "h": 292.6
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#6239B7
secondary
#B1C785
accent
#DC4CAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6239B7

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

Preview Lab → · Contrast checker → · Palette generator →

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