#6236B7#6236B7

#6236B7 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.191 H 293.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6236B7
RGBrgb(98, 54, 183)
HSLhsl(260, 54%, 46%)
HSVhsv(260, 70%, 72%)
CMYKcmyk(46.4%, 70.5%, 0%, 28.2%)
CIE-LABlab(35.31, 48.45, -61.25)
CIE-LCHlch(35.31, 78.10, 308.34°)
OKLaboklab(46.37% 0.0748 -0.1755)
OKLCHoklch(46.37% 0.191 293.1)
XYZxyz(14.9011, 8.6534, 45.6757)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236B7 #8BB736
analogous
#364BB7 #6236B7 #A336B7
triadic
#6236B7 #B76236 #36B762
tetradic
#6236B7 #B7364B #8BB736 #36B7A3
square
#6236B7 #B7364B #8BB736 #36B7A3
split-complementary
#6236B7 #B7A336 #4BB736
monochromatic
#2F1A58 #492888 #6236B7 #835BCF #A78BDD

Accessibility & contrast

On white

7.69
#6236B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6236B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236B7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236B7#FFFFFF#000000##FFFFFF
##6236B71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#495773
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6236b7;
/* rgb */ color: rgb(98, 54, 183);
/* oklch */ color: oklch(46.4% 0.191 293.1);
Tailwind
colors: {
  custom: {
    50: '#9671ce',
    500: '#6236b7',
    950: '#000000',
  },
}
SCSS
$custom: #6236b7;
$custom-light: #9671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6236b7",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 260.465,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.19076,
    "h": 293.1
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#6236B7
secondary
#AFC782
accent
#DE4AAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6236B7

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

Preview Lab → · Contrast checker → · Palette generator →

#6236B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva