#6235DA#6235DA

#6235DA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.231 H 287.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6235DA
RGBrgb(98, 53, 218)
HSLhsl(256, 69%, 53%)
HSVhsv(256, 76%, 85%)
CMYKcmyk(55%, 75.7%, 0%, 14.5%)
CIE-LABlab(38.21, 58.51, -76.90)
CIE-LCHlch(38.21, 96.62, 307.27°)
OKLaboklab(49.35% 0.0675 -0.2213)
OKLCHoklch(49.35% 0.231 287)
XYZxyz(18.9612, 10.2038, 67.2865)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235DA #ADDA35
analogous
#355ADA #6235DA #B535DA
triadic
#6235DA #DA6235 #35DA62
tetradic
#6235DA #DA355A #ADDA35 #35DAB5
square
#6235DA #DA355A #ADDA35 #35DAB5
split-complementary
#6235DA #DAB535 #5ADA35
monochromatic
#33177E #4820B1 #6235DA #8A69E3 #B29CED

Accessibility & contrast

On white

6.91
#6235DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6235DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6235DA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235DA#FFFFFF#000000##FFFFFF
##6235DA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0055D7
Tritanopia (blue-blind)
#2C6486
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6235da;
/* rgb */ color: rgb(98, 53, 218);
/* oklch */ color: oklch(49.4% 0.231 287.0);
Tailwind
colors: {
  custom: {
    50: '#9b72e7',
    500: '#6235da',
    950: '#000000',
  },
}
SCSS
$custom: #6235da;
$custom-light: #9b72e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6235da",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 218
  },
  "hsl": {
    "h": 256.364,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.23138,
    "h": 287
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#6235DA
secondary
#C6D992
accent
#EC3CBC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6235DA

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

Preview Lab → · Contrast checker → · Palette generator →

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