#6239C9#6239C9

#6239C9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.3% C 0.208 H 289.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6239C9
RGBrgb(98, 57, 201)
HSLhsl(257, 57%, 51%)
HSVhsv(257, 72%, 79%)
CMYKcmyk(51.2%, 71.6%, 0%, 21.2%)
CIE-LABlab(37.37, 51.89, -68.44)
CIE-LCHlch(37.37, 85.89, 307.17°)
OKLaboklab(48.3% 0.0685 -0.1966)
OKLCHoklch(48.3% 0.208 289.2)
XYZxyz(17.0397, 9.7392, 56.2290)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239C9 #A0C939
analogous
#3958C9 #6239C9 #AA39C9
triadic
#6239C9 #C96239 #39C962
tetradic
#6239C9 #C93958 #A0C939 #39C9AA
square
#6239C9 #C93958 #A0C939 #39C9AA
split-complementary
#6239C9 #C9AA39 #58C939
monochromatic
#331D6B #4A2A9B #6239C9 #8869D6 #AE99E3

Accessibility & contrast

On white

7.12
#6239C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6239C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239C9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239C9#FFFFFF#000000##FFFFFF
##6239C91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#3C5F7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6239c9;
/* rgb */ color: rgb(98, 57, 201);
/* oklch */ color: oklch(48.3% 0.208 289.2);
Tailwind
colors: {
  custom: {
    50: '#9873db',
    500: '#6239c9',
    950: '#000000',
  },
}
SCSS
$custom: #6239c9;
$custom-light: #9873db;
$custom-dark: #000000;
JSON
{
  "hex": "#6239c9",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 257.083,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48302,
    "c": 0.20819,
    "h": 289.2
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#6239C9
secondary
#BDCF8F
accent
#E047B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6239C9

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

Preview Lab → · Contrast checker → · Palette generator →

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