#6234BC#6234BC

#6234BC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.199 H 292.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6234BC
RGBrgb(98, 52, 188)
HSLhsl(260, 57%, 47%)
HSVhsv(260, 72%, 74%)
CMYKcmyk(47.9%, 72.3%, 0%, 26.3%)
CIE-LABlab(35.37, 50.82, -64.11)
CIE-LCHlch(35.37, 81.81, 308.40°)
OKLaboklab(46.54% 0.0757 -0.1839)
OKLCHoklch(46.54% 0.199 292.4)
XYZxyz(15.3396, 8.6830, 48.4350)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234BC #8EBC34
analogous
#344ABC #6234BC #A634BC
triadic
#6234BC #BC6234 #34BC62
tetradic
#6234BC #BC344A #8EBC34 #34BCA6
square
#6234BC #BC344A #8EBC34 #34BCA6
split-complementary
#6234BC #BCA634 #4ABC34
monochromatic
#30195C #49278C #6234BC #835BD2 #A88BDF

Accessibility & contrast

On white

7.67
#6234BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6234BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6234BC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234BC#FFFFFF#000000##FFFFFF
##6234BC1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6234bc;
/* rgb */ color: rgb(98, 52, 188);
/* oklch */ color: oklch(46.5% 0.199 292.4);
Tailwind
colors: {
  custom: {
    50: '#9770d1',
    500: '#6234bc',
    950: '#000000',
  },
}
SCSS
$custom: #6234bc;
$custom-light: #9770d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6234bc",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 260.294,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.19881,
    "h": 292.4
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#6234BC
secondary
#B1C983
accent
#E048AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6234BC

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

Preview Lab → · Contrast checker → · Palette generator →

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