#6239CA#6239CA

#6239CA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.209 H 289.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6239CA
RGBrgb(98, 57, 202)
HSLhsl(257, 58%, 51%)
HSVhsv(257, 72%, 79%)
CMYKcmyk(51.5%, 71.8%, 0%, 20.8%)
CIE-LABlab(37.46, 52.17, -68.88)
CIE-LCHlch(37.46, 86.41, 307.14°)
OKLaboklab(48.39% 0.0683 -0.1979)
OKLCHoklch(48.39% 0.209 289)
XYZxyz(17.1577, 9.7864, 56.8506)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239CA #A1CA39
analogous
#3958CA #6239CA #AB39CA
triadic
#6239CA #CA6239 #39CA62
tetradic
#6239CA #CA3958 #A1CA39 #39CAAB
square
#6239CA #CA3958 #A1CA39 #39CAAB
split-complementary
#6239CA #CAAB39 #58CA39
monochromatic
#331D6C #4A2A9C #6239CA #8869D7 #AF9AE4

Accessibility & contrast

On white

7.10
#6239CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6239CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239CA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239CA#FFFFFF#000000##FFFFFF
##6239CA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#3C5F7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6239ca;
/* rgb */ color: rgb(98, 57, 202);
/* oklch */ color: oklch(48.4% 0.209 289.0);
Tailwind
colors: {
  custom: {
    50: '#9873db',
    500: '#6239ca',
    950: '#000000',
  },
}
SCSS
$custom: #6239ca;
$custom-light: #9873db;
$custom-dark: #000000;
JSON
{
  "hex": "#6239ca",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 256.966,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.20934,
    "h": 289
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#6239CA
secondary
#BDD08F
accent
#E147B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6239CA

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

Preview Lab → · Contrast checker → · Palette generator →

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