#6235CE#6235CE

#6235CE is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.218 H 288.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6235CE
RGBrgb(98, 53, 206)
HSLhsl(258, 61%, 51%)
HSVhsv(258, 74%, 81%)
CMYKcmyk(52.4%, 74.3%, 0%, 19.2%)
CIE-LABlab(37.11, 55.23, -71.77)
CIE-LCHlch(37.11, 90.56, 307.58°)
OKLaboklab(48.25% 0.0706 -0.2063)
OKLCHoklch(48.25% 0.218 288.9)
XYZxyz(17.4474, 9.5983, 59.3139)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235CE #A1CE35
analogous
#3554CE #6235CE #AE35CE
triadic
#6235CE #CE6235 #35CE62
tetradic
#6235CE #CE3554 #A1CE35 #35CEAE
square
#6235CE #CE3554 #A1CE35 #35CEAE
split-complementary
#6235CE #CEAE35 #54CE35
monochromatic
#331B6E #4A279F #6235CE #8866DA #AF98E6

Accessibility & contrast

On white

7.19
#6235CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6235CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235CE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235CE#FFFFFF#000000##FFFFFF
##6235CE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6235ce;
/* rgb */ color: rgb(98, 53, 206);
/* oklch */ color: oklch(48.3% 0.218 288.9);
Tailwind
colors: {
  custom: {
    50: '#9971de',
    500: '#6235ce',
    950: '#000000',
  },
}
SCSS
$custom: #6235ce;
$custom-light: #9971de;
$custom-dark: #000000;
JSON
{
  "hex": "#6235ce",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 206
  },
  "hsl": {
    "h": 257.647,
    "s": 60.956,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.21807,
    "h": 288.9
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#6235CE
secondary
#BDD18D
accent
#E444B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6235CE

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

Preview Lab → · Contrast checker → · Palette generator →

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