#6235B9#6235B9

#6235B9 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.194 H 292.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6235B9
RGBrgb(98, 53, 185)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 73%)
CMYKcmyk(47%, 71.4%, 0%, 27.5%)
CIE-LABlab(35.29, 49.50, -62.46)
CIE-LCHlch(35.29, 79.70, 308.40°)
OKLaboklab(46.41% 0.0754 -0.179)
OKLCHoklch(46.41% 0.194 292.8)
XYZxyz(15.0646, 8.6452, 46.7645)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235B9 #8CB935
analogous
#354AB9 #6235B9 #A435B9
triadic
#6235B9 #B96235 #35B962
tetradic
#6235B9 #B9354A #8CB935 #35B9A4
square
#6235B9 #B9354A #8CB935 #35B9A4
split-complementary
#6235B9 #B9A435 #4AB935
monochromatic
#301A5A #492789 #6235B9 #835BD0 #A78BDE

Accessibility & contrast

On white

7.69
#6235B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6235B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235B9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235B9#FFFFFF#000000##FFFFFF
##6235B91.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#475773
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6235b9;
/* rgb */ color: rgb(98, 53, 185);
/* oklch */ color: oklch(46.4% 0.194 292.8);
Tailwind
colors: {
  custom: {
    50: '#9670cf',
    500: '#6235b9',
    950: '#000000',
  },
}
SCSS
$custom: #6235b9;
$custom-light: #9670cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6235b9",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 260.455,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.19424,
    "h": 292.8
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#6235B9
secondary
#B0C882
accent
#DF49AC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6235B9

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

Preview Lab → · Contrast checker → · Palette generator →

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