#6233CE#6233CE

#6233CE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.220 H 289.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6233CE
RGBrgb(98, 51, 206)
HSLhsl(258, 61%, 50%)
HSVhsv(258, 75%, 81%)
CMYKcmyk(52.4%, 75.2%, 0%, 19.2%)
CIE-LABlab(36.78, 56.18, -72.31)
CIE-LCHlch(36.78, 91.57, 307.84°)
OKLaboklab(48.02% 0.0721 -0.2079)
OKLCHoklch(48.02% 0.22 289.1)
XYZxyz(17.3582, 9.4197, 59.2841)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233CE #9FCE33
analogous
#3351CE #6233CE #B033CE
triadic
#6233CE #CE6233 #33CE62
tetradic
#6233CE #CE3351 #9FCE33 #33CEB0
square
#6233CE #CE3351 #9FCE33 #33CEB0
split-complementary
#6233CE #CEB033 #51CE33
monochromatic
#331A6D #4A269E #6233CE #8864DA #AE96E6

Accessibility & contrast

On white

7.28
#6233CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6233CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233CE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233CE#FFFFFF#000000##FFFFFF
##6233CE1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#395E7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6233ce;
/* rgb */ color: rgb(98, 51, 206);
/* oklch */ color: oklch(48.0% 0.220 289.1);
Tailwind
colors: {
  custom: {
    50: '#9970de',
    500: '#6233ce',
    950: '#000000',
  },
}
SCSS
$custom: #6233ce;
$custom-light: #9970de;
$custom-dark: #000000;
JSON
{
  "hex": "#6233ce",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 206
  },
  "hsl": {
    "h": 258.194,
    "s": 61.265,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.22006,
    "h": 289.1
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#6233CE
secondary
#BCD18C
accent
#E443B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6233CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6233CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva