#6236B8#6236B8

#6236B8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.192 H 292.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6236B8
RGBrgb(98, 54, 184)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 72%)
CMYKcmyk(46.7%, 70.7%, 0%, 27.8%)
CIE-LABlab(35.39, 48.72, -61.71)
CIE-LCHlch(35.39, 78.63, 308.29°)
OKLaboklab(46.45% 0.0746 -0.1768)
OKLCHoklch(46.45% 0.192 292.9)
XYZxyz(15.0055, 8.6952, 46.2258)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236B8 #8CB836
analogous
#364BB8 #6236B8 #A336B8
triadic
#6236B8 #B86236 #36B862
tetradic
#6236B8 #B8364B #8CB836 #36B8A3
square
#6236B8 #B8364B #8CB836 #36B8A3
split-complementary
#6236B8 #B8A336 #4BB836
monochromatic
#301A59 #492889 #6236B8 #835CCF #A78BDD

Accessibility & contrast

On white

7.67
#6236B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6236B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236B8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236B8#FFFFFF#000000##FFFFFF
##6236B81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#485773
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6236b8;
/* rgb */ color: rgb(98, 54, 184);
/* oklch */ color: oklch(46.5% 0.192 292.9);
Tailwind
colors: {
  custom: {
    50: '#9671ce',
    500: '#6236b8',
    950: '#000000',
  },
}
SCSS
$custom: #6236b8;
$custom-light: #9671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6236b8",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 260.308,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.19192,
    "h": 292.9
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#6236B8
secondary
#B0C782
accent
#DE4AAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6236B8

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

Preview Lab → · Contrast checker → · Palette generator →

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