#6239E9#6239E9

#6239E9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.244 H 284.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6239E9
RGBrgb(98, 57, 233)
HSLhsl(254, 80%, 57%)
HSVhsv(254, 76%, 91%)
CMYKcmyk(57.9%, 75.5%, 0%, 8.6%)
CIE-LABlab(40.25, 60.77, -82.09)
CIE-LCHlch(40.25, 102.13, 306.51°)
OKLaboklab(51.21% 0.0609 -0.2365)
OKLCHoklch(51.21% 0.244 284.4)
XYZxyz(21.2036, 11.4048, 78.1590)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239E9 #C0E939
analogous
#3968E9 #6239E9 #BA39E9
triadic
#6239E9 #E96239 #39E962
tetradic
#6239E9 #E93968 #C0E939 #39E9BA
square
#6239E9 #E93968 #C0E939 #39E9BA
split-complementary
#6239E9 #E9BA39 #68E939
monochromatic
#301197 #4217CE #6239E9 #8E70EF #B9A7F5

Accessibility & contrast

On white

6.40
#6239E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6239E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6239E9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239E9#FFFFFF#000000##FFFFFF
##6239E91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064EE
Deuteranopia (green-blind)
#0059E6
Tritanopia (blue-blind)
#0E6C8F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6239e9;
/* rgb */ color: rgb(98, 57, 233);
/* oklch */ color: oklch(51.2% 0.244 284.4);
Tailwind
colors: {
  custom: {
    50: '#9d74f1',
    500: '#6239e9',
    950: '#000000',
  },
}
SCSS
$custom: #6239e9;
$custom-light: #9d74f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6239e9",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 233
  },
  "hsl": {
    "h": 253.977,
    "s": 80,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.24423,
    "h": 284.4
  },
  "luminance": 0.11406
}

Semantic roles & 50–950 ramp

primary
#6239E9
secondary
#D2E39B
accent
#F631C9
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6239E9

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

Preview Lab → · Contrast checker → · Palette generator →

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