#6235C7#6235C7

#6235C7 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.210 H 290.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6235C7
RGBrgb(98, 53, 199)
HSLhsl(258, 58%, 49%)
HSVhsv(258, 73%, 78%)
CMYKcmyk(50.8%, 73.4%, 0%, 22%)
CIE-LABlab(36.49, 53.32, -68.72)
CIE-LCHlch(36.49, 86.98, 307.81°)
OKLaboklab(47.63% 0.0723 -0.1974)
OKLCHoklch(47.63% 0.21 290.1)
XYZxyz(16.6159, 9.2657, 54.9347)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235C7 #9AC735
analogous
#3551C7 #6235C7 #AB35C7
triadic
#6235C7 #C76235 #35C762
tetradic
#6235C7 #C73551 #9AC735 #35C7AB
square
#6235C7 #C73551 #9AC735 #35C7AB
split-complementary
#6235C7 #C7AB35 #51C735
monochromatic
#321B66 #4A2897 #6235C7 #8764D6 #AC94E2

Accessibility & contrast

On white

7.36
#6235C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6235C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235C7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235C7#FFFFFF#000000##FFFFFF
##6235C71.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#3E5C7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6235c7;
/* rgb */ color: rgb(98, 53, 199);
/* oklch */ color: oklch(47.6% 0.210 290.1);
Tailwind
colors: {
  custom: {
    50: '#9871d9',
    500: '#6235c7',
    950: '#000000',
  },
}
SCSS
$custom: #6235c7;
$custom-light: #9871d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6235c7",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 258.493,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.2102,
    "h": 290.1
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#6235C7
secondary
#B9CE8A
accent
#E147B2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6235C7

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

Preview Lab → · Contrast checker → · Palette generator →

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