#6237C7#6237C7

#6237C7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.9% C 0.208 H 289.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6237C7
RGBrgb(98, 55, 199)
HSLhsl(258, 57%, 50%)
HSVhsv(258, 72%, 78%)
CMYKcmyk(50.8%, 72.4%, 0%, 22%)
CIE-LABlab(36.84, 52.34, -68.14)
CIE-LCHlch(36.84, 85.92, 307.53°)
OKLaboklab(47.87% 0.0706 -0.1957)
OKLCHoklch(47.87% 0.208 289.8)
XYZxyz(16.7090, 9.4518, 54.9657)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6237C7 #9CC737
analogous
#3754C7 #6237C7 #AA37C7
triadic
#6237C7 #C76237 #37C762
tetradic
#6237C7 #C73754 #9CC737 #37C7AA
square
#6237C7 #C73754 #9CC737 #37C7AA
split-complementary
#6237C7 #C7AA37 #54C737
monochromatic
#331C67 #4A2A97 #6237C7 #8766D5 #AD96E2

Accessibility & contrast

On white

7.26
#6237C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6237C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6237C7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6237C7#FFFFFF#000000##FFFFFF
##6237C71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#3E5D7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6237c7;
/* rgb */ color: rgb(98, 55, 199);
/* oklch */ color: oklch(47.9% 0.208 289.8);
Tailwind
colors: {
  custom: {
    50: '#9872d9',
    500: '#6237c7',
    950: '#000000',
  },
}
SCSS
$custom: #6237c7;
$custom-light: #9872d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6237c7",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 257.917,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.20807,
    "h": 289.8
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#6237C7
secondary
#BACD8C
accent
#E048B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6237C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6237C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva