#6236DA#6236DA

#6236DA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.230 H 286.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6236DA
RGBrgb(98, 54, 218)
HSLhsl(256, 69%, 53%)
HSVhsv(256, 75%, 85%)
CMYKcmyk(55%, 75.2%, 0%, 14.5%)
CIE-LABlab(38.37, 58.04, -76.63)
CIE-LCHlch(38.37, 96.13, 307.14°)
OKLaboklab(49.47% 0.0668 -0.2205)
OKLCHoklch(49.47% 0.23 286.9)
XYZxyz(19.0073, 10.2959, 67.3018)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236DA #AEDA36
analogous
#365CDA #6236DA #B436DA
triadic
#6236DA #DA6236 #36DA62
tetradic
#6236DA #DA365C #AEDA36 #36DAB4
square
#6236DA #DA365C #AEDA36 #36DAB4
split-complementary
#6236DA #DAB436 #5CDA36
monochromatic
#33177E #4821B2 #6236DA #8A6AE4 #B39DED

Accessibility & contrast

On white

6.86
#6236DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6236DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6236DA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236DA#FFFFFF#000000##FFFFFF
##6236DA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0056D7
Tritanopia (blue-blind)
#2C6486
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6236da;
/* rgb */ color: rgb(98, 54, 218);
/* oklch */ color: oklch(49.5% 0.230 286.9);
Tailwind
colors: {
  custom: {
    50: '#9b72e7',
    500: '#6236da',
    950: '#000000',
  },
}
SCSS
$custom: #6236da;
$custom-light: #9b72e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6236da",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 218
  },
  "hsl": {
    "h": 256.098,
    "s": 68.908,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.23044,
    "h": 286.9
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#6236DA
secondary
#C6D993
accent
#EC3CBD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6236DA

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

Preview Lab → · Contrast checker → · Palette generator →

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