#6235BD#6235BD

#6235BD is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.199 H 292.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6235BD
RGBrgb(98, 53, 189)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 74%)
CMYKcmyk(48.1%, 72%, 0%, 25.9%)
CIE-LABlab(35.63, 50.59, -64.27)
CIE-LCHlch(35.63, 81.79, 308.21°)
OKLaboklab(46.75% 0.0745 -0.1843)
OKLCHoklch(46.75% 0.199 292)
XYZxyz(15.4928, 8.8164, 49.0197)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235BD #90BD35
analogous
#354CBD #6235BD #A635BD
triadic
#6235BD #BD6235 #35BD62
tetradic
#6235BD #BD354C #90BD35 #35BDA6
square
#6235BD #BD354C #90BD35 #35BDA6
split-complementary
#6235BD #BDA635 #4CBD35
monochromatic
#301A5D #49288D #6235BD #845DD2 #A88DDF

Accessibility & contrast

On white

7.60
#6235BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6235BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235BD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235BD#FFFFFF#000000##FFFFFF
##6235BD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#455876
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6235bd;
/* rgb */ color: rgb(98, 53, 189);
/* oklch */ color: oklch(46.8% 0.199 292.0);
Tailwind
colors: {
  custom: {
    50: '#9770d2',
    500: '#6235bd',
    950: '#000000',
  },
}
SCSS
$custom: #6235bd;
$custom-light: #9770d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6235bd",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 259.853,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46752,
    "c": 0.19883,
    "h": 292
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6235BD

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

Preview Lab → · Contrast checker → · Palette generator →

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