#6235B7#6235B7

#6235B7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.192 H 293.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6235B7
RGBrgb(98, 53, 183)
HSLhsl(261, 55%, 46%)
HSVhsv(261, 71%, 72%)
CMYKcmyk(46.4%, 71%, 0%, 28.2%)
CIE-LABlab(35.13, 48.96, -61.55)
CIE-LCHlch(35.13, 78.65, 308.50°)
OKLaboklab(46.24% 0.0758 -0.1763)
OKLCHoklch(46.24% 0.192 293.3)
XYZxyz(14.8550, 8.5613, 45.6604)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235B7 #8AB735
analogous
#3549B7 #6235B7 #A335B7
triadic
#6235B7 #B76235 #35B762
tetradic
#6235B7 #B73549 #8AB735 #35B7A3
square
#6235B7 #B73549 #8AB735 #35B7A3
split-complementary
#6235B7 #B7A335 #49B735
monochromatic
#2F1A58 #492788 #6235B7 #835ACF #A689DD

Accessibility & contrast

On white

7.74
#6235B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6235B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235B7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235B7#FFFFFF#000000##FFFFFF
##6235B71.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#495672
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6235b7;
/* rgb */ color: rgb(98, 53, 183);
/* oklch */ color: oklch(46.2% 0.192 293.3);
Tailwind
colors: {
  custom: {
    50: '#9670ce',
    500: '#6235b7',
    950: '#000000',
  },
}
SCSS
$custom: #6235b7;
$custom-light: #9670ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6235b7",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 260.769,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.19194,
    "h": 293.3
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#6235B7
secondary
#AFC781
accent
#DE49AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6235B7

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

Preview Lab → · Contrast checker → · Palette generator →

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