#6236BE#6236BE

#6236BE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.199 H 291.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6236BE
RGBrgb(98, 54, 190)
HSLhsl(259, 56%, 48%)
HSVhsv(259, 72%, 75%)
CMYKcmyk(48.4%, 71.6%, 0%, 25.5%)
CIE-LABlab(35.89, 50.36, -64.43)
CIE-LCHlch(35.89, 81.78, 308.02°)
OKLaboklab(46.97% 0.0734 -0.1848)
OKLCHoklch(46.97% 0.199 291.7)
XYZxyz(15.6478, 8.9521, 49.6087)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236BE #92BE36
analogous
#364EBE #6236BE #A636BE
triadic
#6236BE #BE6236 #36BE62
tetradic
#6236BE #BE364E #92BE36 #36BEA6
square
#6236BE #BE364E #92BE36 #36BEA6
split-complementary
#6236BE #BEA636 #4EBE36
monochromatic
#311B5F #49288E #6236BE #8460D2 #A98FDF

Accessibility & contrast

On white

7.53
#6236BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6236BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236BE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236BE#FFFFFF#000000##FFFFFF
##6236BE1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#445976
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6236be;
/* rgb */ color: rgb(98, 54, 190);
/* oklch */ color: oklch(47.0% 0.199 291.7);
Tailwind
colors: {
  custom: {
    50: '#9771d3',
    500: '#6236be',
    950: '#000000',
  },
}
SCSS
$custom: #6236be;
$custom-light: #9771d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6236be",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 259.412,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.19886,
    "h": 291.7
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#6236BE
secondary
#B4CA86
accent
#DF49AE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6236BE

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

Preview Lab → · Contrast checker → · Palette generator →

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