#7235C2#7235C2

#7235C2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.206 H 298.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7235C2
RGBrgb(114, 53, 194)
HSLhsl(266, 57%, 48%)
HSVhsv(266, 73%, 76%)
CMYKcmyk(41.2%, 72.7%, 0%, 23.9%)
CIE-LABlab(37.88, 54.63, -63.46)
CIE-LCHlch(37.88, 83.74, 310.73°)
OKLaboklab(48.89% 0.0966 -0.1814)
OKLCHoklch(48.89% 0.206 298)
XYZxyz(17.9476, 10.0184, 52.0166)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235C2 #85C235
analogous
#353FC2 #7235C2 #B835C2
triadic
#7235C2 #C27235 #35C272
tetradic
#7235C2 #C2353F #85C235 #35C2B8
square
#7235C2 #C2353F #85C235 #35C2B8
split-complementary
#7235C2 #C2B835 #3FC235
monochromatic
#3A1B62 #562892 #7235C2 #9260D4 #B391E1

Accessibility & contrast

On white

6.99
#7235C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7235C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7235C2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235C2#FFFFFF#000000##FFFFFF
##7235C21.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#5E5978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7235c2;
/* rgb */ color: rgb(114, 53, 194);
/* oklch */ color: oklch(48.9% 0.206 298.0);
Tailwind
colors: {
  custom: {
    50: '#a172d5',
    500: '#7235c2',
    950: '#000000',
  },
}
SCSS
$custom: #7235c2;
$custom-light: #a172d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7235c2",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 265.957,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.20551,
    "h": 298
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#7235C2
secondary
#AECC87
accent
#E0479E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7235C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7235C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva