#6339C8#6339C8

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

Color values

HEX#6339C8
RGBrgb(99, 57, 200)
HSLhsl(258, 57%, 50%)
HSVhsv(258, 72%, 78%)
CMYKcmyk(50.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(37.39, 51.77, -67.83)
CIE-LCHlch(37.39, 85.33, 307.35°)
OKLaboklab(48.31% 0.0702 -0.1947)
OKLCHoklch(48.31% 0.207 289.8)
XYZxyz(17.0310, 9.7483, 55.6166)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339C8 #9EC839
analogous
#3957C8 #6339C8 #AA39C8
triadic
#6339C8 #C86339 #39C863
tetradic
#6339C8 #C83957 #9EC839 #39C8AA
square
#6339C8 #C83957 #9EC839 #39C8AA
split-complementary
#6339C8 #C8AA39 #57C839
monochromatic
#341D69 #4B2B99 #6339C8 #8969D5 #AE99E3

Accessibility & contrast

On white

7.12
#6339C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6339C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339C8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339C8#FFFFFF#000000##FFFFFF
##6339C81.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)
#005BCC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#3F5F7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6339c8;
/* rgb */ color: rgb(99, 57, 200);
/* oklch */ color: oklch(48.3% 0.207 289.8);
Tailwind
colors: {
  custom: {
    50: '#9973da',
    500: '#6339c8',
    950: '#000000',
  },
}
SCSS
$custom: #6339c8;
$custom-light: #9973da;
$custom-dark: #000000;
JSON
{
  "hex": "#6339c8",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 257.622,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.207,
    "h": 289.8
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#6339C8
secondary
#BCCE8F
accent
#E048B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6339C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6339C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva