#6239B8#6239B8

#6239B8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.188 H 292.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6239B8
RGBrgb(98, 57, 184)
HSLhsl(259, 53%, 47%)
HSVhsv(259, 69%, 72%)
CMYKcmyk(46.7%, 69%, 0%, 27.8%)
CIE-LABlab(35.95, 47.17, -60.80)
CIE-LCHlch(35.95, 76.95, 307.80°)
OKLaboklab(46.85% 0.0718 -0.1741)
OKLCHoklch(46.85% 0.188 292.4)
XYZxyz(15.1495, 8.9831, 46.2738)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239B8 #8FB839
analogous
#3950B8 #6239B8 #A239B8
triadic
#6239B8 #B86239 #39B862
tetradic
#6239B8 #B83950 #8FB839 #39B8A2
square
#6239B8 #B83950 #8FB839 #39B8A2
split-complementary
#6239B8 #B8A239 #50B839
monochromatic
#301C5B #492B89 #6239B8 #8460CE #A88FDC

Accessibility & contrast

On white

7.51
#6239B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6239B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239B8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239B8#FFFFFF#000000##FFFFFF
##6239B81.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#485974
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6239b8;
/* rgb */ color: rgb(98, 57, 184);
/* oklch */ color: oklch(46.9% 0.188 292.4);
Tailwind
colors: {
  custom: {
    50: '#9672ce',
    500: '#6239b8',
    950: '#000000',
  },
}
SCSS
$custom: #6239b8;
$custom-light: #9672ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6239b8",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 259.37,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.18834,
    "h": 292.4
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6239B8

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

Preview Lab → · Contrast checker → · Palette generator →

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