#6235BC#6235BC

#6235BC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.198 H 292.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6235BC
RGBrgb(98, 53, 188)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 74%)
CMYKcmyk(47.9%, 71.8%, 0%, 26.3%)
CIE-LABlab(35.54, 50.32, -63.82)
CIE-LCHlch(35.54, 81.27, 308.25°)
OKLaboklab(46.67% 0.0748 -0.183)
OKLCHoklch(46.67% 0.198 292.2)
XYZxyz(15.3847, 8.7732, 48.4500)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235BC #8FBC35
analogous
#354BBC #6235BC #A635BC
triadic
#6235BC #BC6235 #35BC62
tetradic
#6235BC #BC354B #8FBC35 #35BCA6
square
#6235BC #BC354B #8FBC35 #35BCA6
split-complementary
#6235BC #BCA635 #4BBC35
monochromatic
#301A5D #49288C #6235BC #845DD1 #A88DDF

Accessibility & contrast

On white

7.62
#6235BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6235BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235BC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235BC#FFFFFF#000000##FFFFFF
##6235BC1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#465875
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6235bc;
/* rgb */ color: rgb(98, 53, 188);
/* oklch */ color: oklch(46.7% 0.198 292.2);
Tailwind
colors: {
  custom: {
    50: '#9770d1',
    500: '#6235bc',
    950: '#000000',
  },
}
SCSS
$custom: #6235bc;
$custom-light: #9770d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6235bc",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 260,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.19769,
    "h": 292.2
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#6235BC
secondary
#B2C984
accent
#DF48AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6235BC

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

Preview Lab → · Contrast checker → · Palette generator →

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